|
Joutsen.ArgumentsParsing
v0.2.1
|
A parser argument that determines the version of an assembly. More...
Public Member Functions | |
| AssemblyVersionArgument (String flag, String alternative, String destination, Assembly assembly, String help=null) | |
| Creates a new instance of the argument for an assembly. More... | |
| AssemblyVersionArgument (String destination, Assembly assembly, String help=null) | |
| Creates a new instance of the argument for an assembly using default names. More... | |
| AssemblyVersionArgument (String flag, String alternative, String destination, Type typeFromAssembly, String help=null) | |
| Creates a new instance of the argument for a type belonging to the assembly containing the version information. More... | |
| AssemblyVersionArgument (String destination, Type typeFromAssembly, String help=null) | |
| Creates a new instance of the argument for a type belonging to the assembly containing the version information using default names. More... | |
Public Member Functions inherited from Joutsen.ArgumentsParsing.FlagArgument< String > | |
| FlagArgument (String flag, String alternative, String destination, TValueType parsedValue, TValueType unparsedValue=default(TValueType), String help=null) | |
| Creates a new instance of the argument. More... | |
| FlagArgument (String flag, String alternative, String destination, bool value=true, String help=null) | |
| Creates a new instance of the argument. More... | |
| override string | Description (string name=null, string alternative=null) |
| override string | Usage (string name=null) |
Static Public Member Functions | |
| static AssemblyVersionArgument | Create< TargetType > (String flag, String alternative, Expression< Func< TargetType, String >> destination, Assembly assembly, String help=null) |
| static AssemblyVersionArgument | Create< TargetType > (Expression< Func< TargetType, String >> destination, Assembly assembly, String help=null) |
| Creates a new instance of the AssemblyVersionArgument for an assembly. More... | |
| static AssemblyVersionArgument | Create< TargetType > (String flag, String alternative, Expression< Func< TargetType, String >> destination, Type typeFromAssembly, String help=null) |
| Creates a new instance of the AssemblyVersionArgument for a type belonging to the assembly containing the version information using default names. More... | |
| static AssemblyVersionArgument | Create< TargetType > (Expression< Func< TargetType, String >> destination, Type typeFromAssembly, String help=null) |
| Creates a new instance of the AssemblyVersionArgument for a type belonging to the assembly containing the version information using default names. More... | |
Static Public Member Functions inherited from Joutsen.ArgumentsParsing.FlagArgument< String > | |
| static FlagArgument< ValueType > | Create< TargetType, ValueType > (String flag, String alternative, Expression< Func< TargetType, ValueType >> destination, ValueType parsedValue, ValueType unparsedValue=default(ValueType), string help=null) |
| Creates a new instance of the typed FlagArgument. More... | |
| static FlagArgument | Create< TargetType > (String flag, String alternative, Expression< Func< TargetType, bool >> destination=null, bool value=true, string help=null) |
| Creates a new instance of the FlagArgument. More... | |
Protected Member Functions | |
| AssemblyVersionArgument (String flag, String alternative, String destination, String version, String help=null) | |
| Creates a new instance of the AssemblyVersionArgument for an assembly. More... | |
Additional Inherited Members | |
Properties inherited from Joutsen.ArgumentsParsing.FlagArgument< String > | |
| string | Alternative [get] |
| The alternative name that is usually a longer version of the flag as it appears in the input list. More... | |
A parser argument that determines the version of an assembly.
| Joutsen.ArgumentsParsing.AssemblyVersionArgument.AssemblyVersionArgument | ( | String | flag, |
| String | alternative, | ||
| String | destination, | ||
| Assembly | assembly, | ||
| String | help = null |
||
| ) |
Creates a new instance of the argument for an assembly.
| flag | the short name or flag that identifies this argument in the input list |
| alternative | an alternative long form of the name which can also be used to identify this argument in the input list |
| destination | the property name of the target object which receives the parsed value |
| assembly | the assembly containing the version information |
| help | an optional descriptive text of the argument intended as additional information in the description of the argument |
| Joutsen.ArgumentsParsing.AssemblyVersionArgument.AssemblyVersionArgument | ( | String | destination, |
| Assembly | assembly, | ||
| String | help = null |
||
| ) |
Creates a new instance of the argument for an assembly using default names.
| destination | the property name of the target object which receives the parsed value |
| assembly | the assembly containing the version information |
| help | an optional descriptive text of the argument intended as additional information in the description of the argument |
| Joutsen.ArgumentsParsing.AssemblyVersionArgument.AssemblyVersionArgument | ( | String | flag, |
| String | alternative, | ||
| String | destination, | ||
| Type | typeFromAssembly, | ||
| String | help = null |
||
| ) |
Creates a new instance of the argument for a type belonging to the assembly containing the version information.
| flag | the short name or flag that identifies this argument in the input list |
| alternative | an alternative long form of the name which can also be used to identify this argument in the input list |
| destination | the property name of the target object which receives the parsed value |
| typeFromAssembly | the type which belongs to the assembly that offers the version information |
| help | an optional descriptive text of the argument intended as additional information in the description of the argument |
| Joutsen.ArgumentsParsing.AssemblyVersionArgument.AssemblyVersionArgument | ( | String | destination, |
| Type | typeFromAssembly, | ||
| String | help = null |
||
| ) |
Creates a new instance of the argument for a type belonging to the assembly containing the version information using default names.
| destination | the property name of the target object which receives the parsed value |
| typeFromAssembly | the type which belongs to the assembly that offers the version information |
| help | an optional descriptive text of the argument intended as additional information in the description of the argument |
|
protected |
Creates a new instance of the AssemblyVersionArgument for an assembly.
| TargetType | the type of the target object that will receive the parsed values |
| flag | the short name or flag that identifies this argument in the input list |
| alternative | an alternative long form of the name which can also be used to identify this argument in the input list |
| destination | an expression describing the property of the target instance which shall recieve the parsed value. If this is null the target property will be found using the name of the argument. |
| assembly | the assembly containing the version information |
| help | an optional descriptive text of the argument intended as additional information in the description of the argument |
|
static |
|
static |
Creates a new instance of the AssemblyVersionArgument for an assembly.
| TargetType | the type of the target object that will receive the parsed values |
| destination | an expression describing the property of the target instance which shall recieve the parsed value. If this is null the target property will be found using the name of the argument. |
| assembly | the assembly containing the version information |
| help | an optional descriptive text of the argument intended as additional information in the description of the argument |
|
static |
Creates a new instance of the AssemblyVersionArgument for a type belonging to the assembly containing the version information using default names.
| TargetType | the type of the target object that will receive the parsed values |
| flag | the short name or flag that identifies this argument in the input list |
| alternative | an alternative long form of the name which can also be used to identify this argument in the input list |
| destination | an expression describing the property of the target instance which shall recieve the parsed value. If this is null the target property will be found using the name of the argument. |
| typeFromAssembly | the type which belongs to the assembly that offers the version information |
| help | an optional descriptive text of the argument intended as additional information in the description of the argument |
|
static |
Creates a new instance of the AssemblyVersionArgument for a type belonging to the assembly containing the version information using default names.
| TargetType | the type of the target object that will receive the parsed values |
| destination | an expression describing the property of the target instance which shall recieve the parsed value. If this is null the target property will be found using the name of the argument. |
| typeFromAssembly | the type which belongs to the assembly that offers the version information |
| help | an optional descriptive text of the argument intended as additional information in the description of the argument |
1.8.13