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()); }
/// <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(); }
public PapyrusAttributeReader(IValueTypeConverter papyrusValueTypeConverter) { this.papyrusValueTypeConverter = papyrusValueTypeConverter; }