static ValueTypeConverter()
 {
     ValueTypeConverters.Instance.Add(String      = new StringValueTypeConverter());
     ValueTypeConverters.Instance.Add(Number      = new NumberValueTypeConverter());
     ValueTypeConverters.Instance.Add(NumberRange = new NumberRangeValueTypeConverter());
     ValueTypeConverters.Instance.Add(Boolean     = new BooleanValueTypeConverter());
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StoreProcessor" /> class.
 /// </summary>
 /// <param name="valueTypeConverter">The value type converter.</param>
 public StoreProcessor(IValueTypeConverter valueTypeConverter)
 {
     this.valueTypeConverter = valueTypeConverter ?? new PapyrusValueTypeConverter();
 }
示例#3
0
 public PapyrusAttributeReader(IValueTypeConverter papyrusValueTypeConverter)
 {
     this.papyrusValueTypeConverter = papyrusValueTypeConverter;
 }