public SimpleStringPropertyHandler(GetStringProperty <T> GetValue, SetStringProperty <T> SetValue) : base((b) => new StringPrimitive(GetValue(b)), (b, v) => { SetValue(b, v.GetValue().ToString()); }, new StringPrimitive("")) { }
public SimpleStringPropertyHandler(GetStringProperty <T> GetValue, SetStringProperty <T> SetValue) : base((b, p) => new StringPrimitive(GetValue(b)), (b, p, v) => { SetValue(b, CastString(v).GetTypedValue()); }, new StringPrimitive("")) { }