Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class ArgumentConverterProviderOptions

    Options for default command argument converter provider.

    Inheritance
    System.Object
    ArgumentConverterProviderOptions
    Namespace: TehGM.Wolfringo.Commands.Parsing
    Assembly: Wolfringo.Commands.dll
    Syntax
    public class ArgumentConverterProviderOptions

    Properties

    | Improve this Doc View Source

    Converters

    Map for parameter type and assigned argument converter.

    Declaration
    public IDictionary<Type, IArgumentConverter> Converters { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.Type, IArgumentConverter>
    Remarks

    Converters mapped by default:
    System.String - StringConverter
    System.Char - CharConverter
    System.Boolean - BooleanConverter
    System.Int16 - Int16Converter
    System.UInt16 - UInt16Converter
    System.Int32 - Int32Converter
    System.UInt32 - UInt32Converter
    System.Int64 - Int64Converter
    System.UInt64 - UInt64Converter
    System.Single - SingleConverter
    System.Double - DoubleConverter
    System.Decimal - DecimalConverter
    System.Numerics.BigInteger - BigIntegerConverter
    System.TimeSpan - TimeSpanConverter
    System.DateTime - DateTimeConverter
    System.DateTimeOffset - DateTimeOffsetConverter
    WolfTimestamp - WolfTimestampConverter

    | Improve this Doc View Source

    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

    See Also

    ArgumentConverterProvider