Skip to content

M_CommandLine_Core_KeyValuePairHelper_ForSwitch

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

KeyValuePairHelper.ForSwitch Method

Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static IEnumerable<KeyValuePair<string, IEnumerable<string>>> ForSwitch(
	IEnumerable<Token> tokens
)

VB

Public Shared Function ForSwitch ( 
	tokens As IEnumerable(Of Token)
) As IEnumerable(Of KeyValuePair(Of String, IEnumerable(Of String)))

C++

public:
static IEnumerable<KeyValuePair<String^, IEnumerable<String^>^>>^ ForSwitch(
	IEnumerable<Token^>^ tokens
)

F#

static member ForSwitch : 
        tokens : IEnumerable<Token> -> IEnumerable<KeyValuePair<string, IEnumerable<string>>> 

Parameters

 

tokens
Type: System.Collections.Generic.IEnumerable(Token)

Return Value

Type: IEnumerable(KeyValuePair(String, IEnumerable(String)))

See Also

Reference

KeyValuePairHelper Class
CommandLine.Core Namespace

Clone this wiki locally