Skip to content

M_CommandLine_Core_Tokenizer_ExplodeOptionList

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

Tokenizer.ExplodeOptionList Method

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

Syntax

C#

public static Result<IEnumerable<Token>, Error> ExplodeOptionList(
	Result<IEnumerable<Token>, Error> tokenizerResult,
	Func<string, Maybe<char>> optionSequenceWithSeparatorLookup
)

VB

Public Shared Function ExplodeOptionList ( 
	tokenizerResult As Result(Of IEnumerable(Of Token), Error),
	optionSequenceWithSeparatorLookup As Func(Of String, Maybe(Of Char))
) As Result(Of IEnumerable(Of Token), Error)

C++

public:
static Result<IEnumerable<Token^>^, Error^>^ ExplodeOptionList(
	Result<IEnumerable<Token^>^, Error^>^ tokenizerResult, 
	Func<String^, Maybe<wchar_t>^>^ optionSequenceWithSeparatorLookup
)

F#

static member ExplodeOptionList : 
        tokenizerResult : Result<IEnumerable<Token>, Error> * 
        optionSequenceWithSeparatorLookup : Func<string, Maybe<char>> -> Result<IEnumerable<Token>, Error> 

Parameters

 

tokenizerResult
Type: RailwaySharp.ErrorHandling.Result(IEnumerable(Token), Error)
optionSequenceWithSeparatorLookup
Type: System.Func(String, Maybe(Char))

Return Value

Type: Result(IEnumerable(Token), Error)

See Also

Reference

Tokenizer Class
CommandLine.Core Namespace

Clone this wiki locally