![]() |
BadScript 2
|
Provides convenience extension methods for CommandLine.ParserResult<T>. More...
Static Public Member Functions | |
static ParserResult< T > | WithParsed< T > (this ParserResult< T > result, Action< T > action) |
Executes action if CommandLine.ParserResult<T> contains parsed values. | |
static ParserResult< object > | WithParsed< T > (this ParserResult< object > result, Action< T > action) |
Executes action if parsed values are of T . | |
static ParserResult< T > | WithNotParsed< T > (this ParserResult< T > result, Action< IEnumerable< Error > > action) |
Executes action if CommandLine.ParserResult<T> lacks parsed values and contains errors. | |
static TResult | MapResult< TSource, TResult > (this ParserResult< TSource > result, Func< TSource, TResult > parsedFunc, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, T8, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< T8, TResult > parsedFunc8, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< T8, TResult > parsedFunc8, Func< T9, TResult > parsedFunc9, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< T8, TResult > parsedFunc8, Func< T9, TResult > parsedFunc9, Func< T10, TResult > parsedFunc10, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< T8, TResult > parsedFunc8, Func< T9, TResult > parsedFunc9, Func< T10, TResult > parsedFunc10, Func< T11, TResult > parsedFunc11, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< T8, TResult > parsedFunc8, Func< T9, TResult > parsedFunc9, Func< T10, TResult > parsedFunc10, Func< T11, TResult > parsedFunc11, Func< T12, TResult > parsedFunc12, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< T8, TResult > parsedFunc8, Func< T9, TResult > parsedFunc9, Func< T10, TResult > parsedFunc10, Func< T11, TResult > parsedFunc11, Func< T12, TResult > parsedFunc12, Func< T13, TResult > parsedFunc13, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< T8, TResult > parsedFunc8, Func< T9, TResult > parsedFunc9, Func< T10, TResult > parsedFunc10, Func< T11, TResult > parsedFunc11, Func< T12, TResult > parsedFunc12, Func< T13, TResult > parsedFunc13, Func< T14, TResult > parsedFunc14, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< T8, TResult > parsedFunc8, Func< T9, TResult > parsedFunc9, Func< T10, TResult > parsedFunc10, Func< T11, TResult > parsedFunc11, Func< T12, TResult > parsedFunc12, Func< T13, TResult > parsedFunc13, Func< T14, TResult > parsedFunc14, Func< T15, TResult > parsedFunc15, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static TResult | MapResult< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult > (this ParserResult< object > result, Func< T1, TResult > parsedFunc1, Func< T2, TResult > parsedFunc2, Func< T3, TResult > parsedFunc3, Func< T4, TResult > parsedFunc4, Func< T5, TResult > parsedFunc5, Func< T6, TResult > parsedFunc6, Func< T7, TResult > parsedFunc7, Func< T8, TResult > parsedFunc8, Func< T9, TResult > parsedFunc9, Func< T10, TResult > parsedFunc10, Func< T11, TResult > parsedFunc11, Func< T12, TResult > parsedFunc12, Func< T13, TResult > parsedFunc13, Func< T14, TResult > parsedFunc14, Func< T15, TResult > parsedFunc15, Func< T16, TResult > parsedFunc16, Func< IEnumerable< Error >, TResult > notParsedFunc) |
Provides a way to transform result data into another value. | |
static async Task< ParserResult< T > > | WithParsedAsync< T > (this ParserResult< T > result, Func< T, Task > action) |
Executes asynchronously action if CommandLine.ParserResult<T> contains parsed values. | |
static async Task< ParserResult< object > > | WithParsedAsync< T > (this ParserResult< object > result, Func< T, Task > action) |
Executes asynchronously action if parsed values are of T . | |
static async Task< ParserResult< T > > | WithNotParsedAsync< T > (this ParserResult< T > result, Func< IEnumerable< Error >, Task > action) |
Executes asynchronously action if CommandLine.ParserResult<T> lacks parsed values and contains errors. | |
Provides convenience extension methods for CommandLine.ParserResult<T>.
Definition at line 11 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
T8 | Eighth verb type. |
T9 | Ninth verb type. |
T10 | Tenth verb type. |
T11 | Eleventh verb type. |
T12 | Twelfth verb type. |
T13 | Thirteenth verb type. |
T14 | Fourteenth verb type. |
T15 | Fifteenth verb type. |
T16 | Sixteenth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
parsedFunc8 | Lambda executed on successful parsing of T8 . |
parsedFunc9 | Lambda executed on successful parsing of T9 . |
parsedFunc10 | Lambda executed on successful parsing of T10 . |
parsedFunc11 | Lambda executed on successful parsing of T11 . |
parsedFunc12 | Lambda executed on successful parsing of T12 . |
parsedFunc13 | Lambda executed on successful parsing of T13 . |
parsedFunc14 | Lambda executed on successful parsing of T14 . |
parsedFunc15 | Lambda executed on successful parsing of T15 . |
parsedFunc16 | Lambda executed on successful parsing of T16 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 1405 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
T8 | Eighth verb type. |
T9 | Ninth verb type. |
T10 | Tenth verb type. |
T11 | Eleventh verb type. |
T12 | Twelfth verb type. |
T13 | Thirteenth verb type. |
T14 | Fourteenth verb type. |
T15 | Fifteenth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
parsedFunc8 | Lambda executed on successful parsing of T8 . |
parsedFunc9 | Lambda executed on successful parsing of T9 . |
parsedFunc10 | Lambda executed on successful parsing of T10 . |
parsedFunc11 | Lambda executed on successful parsing of T11 . |
parsedFunc12 | Lambda executed on successful parsing of T12 . |
parsedFunc13 | Lambda executed on successful parsing of T13 . |
parsedFunc14 | Lambda executed on successful parsing of T14 . |
parsedFunc15 | Lambda executed on successful parsing of T15 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 1262 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
T8 | Eighth verb type. |
T9 | Ninth verb type. |
T10 | Tenth verb type. |
T11 | Eleventh verb type. |
T12 | Twelfth verb type. |
T13 | Thirteenth verb type. |
T14 | Fourteenth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
parsedFunc8 | Lambda executed on successful parsing of T8 . |
parsedFunc9 | Lambda executed on successful parsing of T9 . |
parsedFunc10 | Lambda executed on successful parsing of T10 . |
parsedFunc11 | Lambda executed on successful parsing of T11 . |
parsedFunc12 | Lambda executed on successful parsing of T12 . |
parsedFunc13 | Lambda executed on successful parsing of T13 . |
parsedFunc14 | Lambda executed on successful parsing of T14 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 1127 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
T8 | Eighth verb type. |
T9 | Ninth verb type. |
T10 | Tenth verb type. |
T11 | Eleventh verb type. |
T12 | Twelfth verb type. |
T13 | Thirteenth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
parsedFunc8 | Lambda executed on successful parsing of T8 . |
parsedFunc9 | Lambda executed on successful parsing of T9 . |
parsedFunc10 | Lambda executed on successful parsing of T10 . |
parsedFunc11 | Lambda executed on successful parsing of T11 . |
parsedFunc12 | Lambda executed on successful parsing of T12 . |
parsedFunc13 | Lambda executed on successful parsing of T13 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 1000 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
T8 | Eighth verb type. |
T9 | Ninth verb type. |
T10 | Tenth verb type. |
T11 | Eleventh verb type. |
T12 | Twelfth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
parsedFunc8 | Lambda executed on successful parsing of T8 . |
parsedFunc9 | Lambda executed on successful parsing of T9 . |
parsedFunc10 | Lambda executed on successful parsing of T10 . |
parsedFunc11 | Lambda executed on successful parsing of T11 . |
parsedFunc12 | Lambda executed on successful parsing of T12 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 881 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
T8 | Eighth verb type. |
T9 | Ninth verb type. |
T10 | Tenth verb type. |
T11 | Eleventh verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
parsedFunc8 | Lambda executed on successful parsing of T8 . |
parsedFunc9 | Lambda executed on successful parsing of T9 . |
parsedFunc10 | Lambda executed on successful parsing of T10 . |
parsedFunc11 | Lambda executed on successful parsing of T11 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 770 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
T8 | Eighth verb type. |
T9 | Ninth verb type. |
T10 | Tenth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
parsedFunc8 | Lambda executed on successful parsing of T8 . |
parsedFunc9 | Lambda executed on successful parsing of T9 . |
parsedFunc10 | Lambda executed on successful parsing of T10 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 667 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
T8 | Eighth verb type. |
T9 | Ninth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
parsedFunc8 | Lambda executed on successful parsing of T8 . |
parsedFunc9 | Lambda executed on successful parsing of T9 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 573 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
T8 | Eighth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
parsedFunc8 | Lambda executed on successful parsing of T8 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 487 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
T7 | Seventh verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
parsedFunc7 | Lambda executed on successful parsing of T7 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 408 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
T6 | Sixth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
parsedFunc6 | Lambda executed on successful parsing of T6 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 337 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
T5 | Fifth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
parsedFunc5 | Lambda executed on successful parsing of T5 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 275 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
T4 | Fourth verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
parsedFunc4 | Lambda executed on successful parsing of T4 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 221 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
T3 | Third verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
parsedFunc3 | Lambda executed on successful parsing of T3 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 175 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
T2 | Second verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
parsedFunc2 | Lambda executed on successful parsing of T2 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 137 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
T1 | First verb type. |
TResult |
result | The result in verb scenario. |
parsedFunc1 | Lambda executed on successful parsing of T1 . |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 107 of file ParserResultExtensions.cs.
|
static |
Provides a way to transform result data into another value.
TSource | Type of the target instance built with parsed value. |
TResult | The type of the new value. |
result | An CommandLine.ParserResult<T> instance. |
parsedFunc | Lambda executed on successful parsing. |
notParsedFunc | Lambda executed on failed parsing. |
Definition at line 84 of file ParserResultExtensions.cs.
|
static |
Executes action if CommandLine.ParserResult<T> lacks parsed values and contains errors.
T | Type of the target instance built with parsed value. |
result | An CommandLine.ParserResult<T> instance. |
action | The System.Action delegate to execute. |
Definition at line 63 of file ParserResultExtensions.cs.
|
static |
Executes asynchronously action if CommandLine.ParserResult<T> lacks parsed values and contains errors.
T | Type of the target instance built with parsed value. |
result | An CommandLine.ParserResult<T> instance. |
action | The System.Func<Task> delegate to execute. |
Definition at line 60 of file ParserResultExtensionsAsync.cs.
|
static |
Executes action if parsed values are of T .
T | Type of the target instance built with parsed value. |
result | An verb result instance. |
action | The Action<T> to execute. |
Definition at line 40 of file ParserResultExtensions.cs.
|
static |
Executes action if CommandLine.ParserResult<T> contains parsed values.
T | Type of the target instance built with parsed value. |
result | An CommandLine.ParserResult<T> instance. |
action | The Action<T> to execute. |
Definition at line 21 of file ParserResultExtensions.cs.
|
static |
Executes asynchronously action if parsed values are of T .
T | Type of the target instance built with parsed value. |
result | An verb result instance. |
action | The Func<T, Task> to execute. |
Definition at line 37 of file ParserResultExtensionsAsync.cs.
|
static |
Executes asynchronously action if CommandLine.ParserResult<T> contains parsed values.
T | Type of the target instance built with parsed value. |
result | An CommandLine.ParserResult<T> instance. |
action | The Func<TResult> to execute. |
Definition at line 20 of file ParserResultExtensionsAsync.cs.