Skip to content

M_CommandLine_Core_Scalar_Partition

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

Scalar.Partition Method

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

Syntax

C#

publicstaticIEnumerable<Token>Partition(IEnumerable<Token>tokens,Func<string,Maybe<TypeDescriptor>>typeLookup)

VB

PublicSharedFunctionPartition(tokensAsIEnumerable(OfToken),typeLookupAsFunc(OfString,Maybe(OfTypeDescriptor)))AsIEnumerable(OfToken)

C++

public:static IEnumerable<Token^>^ Partition( IEnumerable<Token^>^ tokens, Func<String^, Maybe<TypeDescriptor>^>^ typeLookup )

F#

static memberPartition:tokens :IEnumerable<Token>* typeLookup : Func<string, Maybe<TypeDescriptor>>-> IEnumerable<Token>

Parameters

tokens
Type: System.Collections.Generic.IEnumerable(Token)
typeLookup
Type: System.Func(String, Maybe(TypeDescriptor))

Return Value

Type: IEnumerable(Token)

See Also

Reference

Scalar Class
CommandLine.Core Namespace

Clone this wiki locally