Class ArgumentConverterProviderOptions
Options for default command argument converter provider.
Namespace: TehGM.Wolfringo.Commands.Parsing
Assembly: Wolfringo.Commands.dll
Syntax
public class ArgumentConverterProviderOptions
Properties
| Improve this Doc View SourceConverters
Map for parameter type and assigned argument converter.
Declaration
public IDictionary<Type, IArgumentConverter> Converters { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<Type, IArgumentConverter> |
Remarks
Converters mapped by default:
String - StringConverter
Char - CharConverter
Boolean - BooleanConverter
Int16 - Int16Converter
UInt16 - UInt16Converter
Int32 - Int32Converter
UInt32 - UInt32Converter
Int64 - Int64Converter
UInt64 - UInt64Converter
Single - SingleConverter
Double - DoubleConverter
Decimal - DecimalConverter
BigInteger - BigIntegerConverter
TimeSpan - TimeSpanConverter
DateTime - DateTimeConverter
DateTimeOffset - DateTimeOffsetConverter
WolfTimestamp - WolfTimestampConverter
EnumConverter
Fallback converter used to convert any enum type that is not explicitly mapped.
Declaration
public IArgumentConverter EnumConverter { get; set; }
Property Value
Type | Description |
---|---|
IArgumentConverter |