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#

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

VB

Public Shared Function Partition ( 
	tokens As IEnumerable(Of Token),
	typeLookup As Func(Of String, Maybe(Of TypeDescriptor))
) As IEnumerable(Of Token)

C++

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

F#

static member Partition : 
        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