ParseResults<'Template> Type
Argument parsing result holder.
Instance members
Instance member | Description |
Full Usage:
this.Catch
Parameters:
unit -> 'T
-
The operation to be executed.
?errorCode : ErrorCode
-
The error code to be returned.
?showUsage : bool
-
Print usage together with error message. Defaults to true
Returns: 'T
|
|
Full Usage:
this.Contains
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: bool
|
|
Full Usage:
this.Contains
Parameters:
Expr<'Template>
-
The name of the parameter, expressed as quotation of DU constructor.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: bool
|
|
|
|
Full Usage:
this.GetAllResults
Parameters:
ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'Template list
|
|
Full Usage:
this.GetResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
parser : 'Field -> 'R
-
The post-processing parser.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'R
|
|
Full Usage:
this.GetResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
defaultValue : 'Field
-
Use this if no parameter of specific kind has been specified.
parser : 'Field -> 'R
-
The post-processing parser.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
?errorCode : ErrorCode
-
The error code to be returned.
?showUsage : bool
-
Print usage together with error message.
Returns: 'R
|
|
Full Usage:
this.GetResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
defThunk : unit -> 'Field
-
Function used to default if no parameter has been specified.
Any resulting Exception will be trapped, and the Exception's .Message will be used as the Failure Message as per Raise and Catch .
parser : 'Field -> 'R
-
The post-processing parser.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
?errorCode : ErrorCode
-
The error code to be returned.
?showUsage : bool
-
Print usage together with error message. Defaults to true
Returns: 'R
|
|
Full Usage:
this.GetResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
defThunk : unit -> 'Field
-
Function used to default if no parameter has been specified.
Any resulting Exception will be trapped, and the Exception's .Message will be used as the Failure Message as per Raise and Catch .
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
?errorCode : ErrorCode
-
The error code to be returned.
?showUsage : bool
-
Print usage together with error message.
Returns: 'Field
|
|
Full Usage:
this.GetResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
?defaultValue : 'Field
-
Return this if no parameter of specific kind has been specified.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'Field
|
|
Full Usage:
this.GetResult
Parameters:
Expr<'Template>
-
The name of the parameter, expressed as quotation of DU constructor.
?defaultValue : 'Template
-
Return this if no parameter of specific kind has been specified.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'Template
|
|
Full Usage:
this.GetResults
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
parser : 'Field -> 'R
-
The post-processing parser.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'R list
|
|
Full Usage:
this.GetResults
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'Field list
|
|
Full Usage:
this.GetResults
Parameters:
Expr<'Template>
-
The name of the parameter, expressed as quotation of DU constructor.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'Template list
|
|
Full Usage:
this.GetSubCommand
Returns: 'Template
|
|
Full Usage:
this.IsUsageRequested
Returns: bool
|
|
Full Usage:
this.IterResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
iterator : 'Field -> unit
-
The iterator body.
?source : ParseSource
-
Option source restriction: AppSettings or CommandLine.
|
|
Full Usage:
this.IterResults
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
iterator : 'Field -> unit
-
The iterator body.
?source : ParseSource
-
Option source restriction: AppSettings or CommandLine.
|
|
Full Usage:
this.PostProcessResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
parser : 'Field -> 'R
-
The post-processing parser.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'R
|
|
Full Usage:
this.PostProcessResults
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
parser : 'Field -> 'R
-
The post-processing parser.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'R list
|
|
Full Usage:
this.ProgramName
Returns: string
|
|
Full Usage:
this.Raise
Parameters:
exn
-
The error to be displayed.
?errorCode : ErrorCode
-
The error code to be returned.
?showUsage : bool
-
Print usage together with error message.
Returns: 'T
|
|
Full Usage:
this.Raise
Parameters:
string
-
The error message to be displayed.
?errorCode : ErrorCode
-
The error code to be returned.
?showUsage : bool
-
Print usage together with error message.
Returns: 'T
|
|
Full Usage:
this.TryGetResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
parser : 'Field -> 'R
-
The post-processing parser.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'R option
|
|
Full Usage:
this.TryGetResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'Field option
|
|
Full Usage:
this.TryGetResult
Parameters:
Expr<'Template>
-
The name of the parameter, expressed as quotation of DU constructor.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'Template option
|
|
Full Usage:
this.TryGetSubCommand
Returns: 'Template option
|
|
Full Usage:
this.TryPostProcessResult
Parameters:
Expr<('Field -> 'Template)>
-
The name of the parameter, expressed as quotation of DU constructor.
parser : 'Field -> 'R
-
The post-processing parser.
?source : ParseSource
-
Optional source restriction: AppSettings or CommandLine.
Returns: 'R option
|
|
Full Usage:
this.UnrecognizedCliParams
Returns: string list
|
|
Full Usage:
this.UnrecognizedCliParseResults
Returns: obj list
|