Skip to content

T_CommandLine_ParserResultExtensions

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

ParserResultExtensions Class

Provides convenience extension methods for ParserResult(T).

Inheritance Hierarchy

System.Object
  CommandLine.ParserResultExtensions
Namespace: CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static class ParserResultExtensions

VB

<ExtensionAttribute>
Public NotInheritable Class ParserResultExtensions

C++

[ExtensionAttribute]
public ref class ParserResultExtensions abstract sealed

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type ParserResultExtensions =  class end

The ParserResultExtensions type exposes the following members.

Methods

 

Name Description
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(T8, TResult), Func(T9, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(T8, TResult), Func(T9, TResult), Func(T10, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(T8, TResult), Func(T9, TResult), Func(T10, TResult), Func(T11, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(T8, TResult), Func(T9, TResult), Func(T10, TResult), Func(T11, TResult), Func(T12, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(T8, TResult), Func(T9, TResult), Func(T10, TResult), Func(T11, TResult), Func(T12, TResult), Func(T13, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(T8, TResult), Func(T9, TResult), Func(T10, TResult), Func(T11, TResult), Func(T12, TResult), Func(T13, TResult), Func(T14, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(T8, TResult), Func(T9, TResult), Func(T10, TResult), Func(T11, TResult), Func(T12, TResult), Func(T13, TResult), Func(T14, TResult), Func(T15, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(T8, TResult), Func(T9, TResult), Func(T10, TResult), Func(T11, TResult), Func(T12, TResult), Func(T13, TResult), Func(T14, TResult), Func(T15, TResult), Func(T16, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, TResult)(ParserResult(Object), Func(T1, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(TSource, TResult)(ParserResult(TSource), Func(TSource, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member MapResult(T1, T2, T3, T4, T5, T6, T7, T8, TResult)(ParserResult(Object), Func(T1, TResult), Func(T2, TResult), Func(T3, TResult), Func(T4, TResult), Func(T5, TResult), Func(T6, TResult), Func(T7, TResult), Func(T8, TResult), Func(IEnumerable(Error), TResult)) Provides a way to transform result data into another value.
Public methodStatic member WithNotParsed(T) Executes action if ParserResult(T) lacks parsed values and contains errors.
Public methodStatic member WithParsed(T)(ParserResult(Object), Action(T)) Executes action if parsed values are of T.
Public methodStatic member WithParsed(T)(ParserResult(T), Action(T)) Executes action if ParserResult(T) contains parsed values.
  Back to Top

See Also

Reference

CommandLine Namespace

Clone this wiki locally