CommandLineGetArgumentT Method (String, T, IFormatProvider) |
Gets a command line argument value by name.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static T GetArgument<T>(
string name,
T defaultValue,
IFormatProvider provider
)
Parameters
- name
- Type: SystemString
The argument name. - defaultValue
- Type: T
The default value if the argument is not defined. - provider
- Type: SystemIFormatProvider
The format provider.
Type Parameters
- T
- The expected type
Return Value
Type:
TA typed value.
Exceptions See Also