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#

publicstaticIEnumerable<KeyValuePair<string,IEnumerable<string>>>ForSwitch(IEnumerable<Token>tokens)

VB

PublicSharedFunctionForSwitch(tokensAsIEnumerable(OfToken))AsIEnumerable(OfKeyValuePair(OfString,IEnumerable(OfString)))

C++

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

F#

static memberForSwitch: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