public override void Register(IXmlContextData context) { context.RegisterConverter(__guidType, this); context.RegisterAlias("Guid", __guidType); context.RegisterConverter(__nguidType, this); context.RegisterAlias("NullableGuid", __nguidType); }
public override void Register(IXmlContextData context) { context.RegisterConverter(__timeSpanType, this); context.RegisterAlias("TimeSpan", __timeSpanType); context.RegisterConverter(__ntimeSpanType, this); context.RegisterAlias("NullableTimeSpan", __ntimeSpanType); }
public override void Register(IXmlContextData context) { context.RegisterConverter(__dateTimeType, this); context.RegisterAlias("DateTime", __dateTimeType); context.RegisterConverter(__dateTimeOffsetType, this); context.RegisterAlias("DateTimeOffset", __dateTimeOffsetType); context.RegisterConverter(__nullableDateTimeType, this); context.RegisterAlias("NullableDateTime", __nullableDateTimeType); context.RegisterConverter(__nullableDateTimeOffsetType, this); context.RegisterAlias("NullableDateTimeOffset", __nullableDateTimeOffsetType); }
public override void Register(IXmlContextData context) { context.RegisterConverter(_float, this); context.RegisterConverter(_double, this); context.RegisterConverter(_decimal, this); context.RegisterConverter(_nfloat, this); context.RegisterConverter(_ndouble, this); context.RegisterConverter(_ndecimal, this); context.RegisterAlias("Float", _float); context.RegisterAlias("Double", _double); context.RegisterAlias("Decimal", _decimal); context.RegisterAlias("NullableFloat", _nfloat); context.RegisterAlias("NullableDouble", _ndouble); context.RegisterAlias("NullableDecimal", _ndecimal); }
public override void Register(IXmlContextData context) { context.RegisterConverter(__arrayType, this); context.RegisterAlias("Array", __arrayType); }
public override void Register(IXmlContextData context) { context.RegisterConverter(__type, this); context.RegisterAlias("null", __type); }
public override void Register(IXmlContextData context) { context.RegisterConverter(__enumType, this); context.RegisterAlias("Enum", __enumType); }
public override void Register(IXmlContextData context) { context.RegisterConverter(__stringType, this); context.RegisterAlias("String", __stringType); }
public override void Register(IXmlContextData context) { context.RegisterConverter(__xmlType, this); context.RegisterAlias("XmlDocument", __xmlType); }
public override void Register(IXmlContextData context) { context.RegisterConverter(typeof(bool), this); context.RegisterConverter(typeof(byte), this); context.RegisterConverter(typeof(ushort), this); context.RegisterConverter(typeof(short), this); context.RegisterConverter(typeof(uint), this); context.RegisterConverter(typeof(int), this); context.RegisterConverter(typeof(ulong), this); context.RegisterConverter(typeof(long), this); context.RegisterConverter(typeof(char), this); context.RegisterConverter(typeof(bool?), this); context.RegisterConverter(typeof(byte?), this); context.RegisterConverter(typeof(ushort?), this); context.RegisterConverter(typeof(short?), this); context.RegisterConverter(typeof(uint?), this); context.RegisterConverter(typeof(int?), this); context.RegisterConverter(typeof(ulong?), this); context.RegisterConverter(typeof(long?), this); context.RegisterConverter(typeof(char?), this); context.RegisterAlias("Bool", typeof(bool)); context.RegisterAlias("Byte", typeof(byte)); context.RegisterAlias("UShort", typeof(ushort)); context.RegisterAlias("Short", typeof(short)); context.RegisterAlias("UInt", typeof(uint)); context.RegisterAlias("Int", typeof(int)); context.RegisterAlias("ULong", typeof(ulong)); context.RegisterAlias("Long", typeof(long)); context.RegisterAlias("Char", typeof(char)); context.RegisterAlias("NullableBool", typeof(bool?)); context.RegisterAlias("NullableByte", typeof(byte?)); context.RegisterAlias("NullableUShort", typeof(ushort?)); context.RegisterAlias("NullableShort", typeof(short?)); context.RegisterAlias("NullableUInt", typeof(uint?)); context.RegisterAlias("NullableInt", typeof(int?)); context.RegisterAlias("NullableULong", typeof(ulong?)); context.RegisterAlias("NullableLong", typeof(long?)); context.RegisterAlias("NullableChar", typeof(char?)); }