public static void SetByCommand(this IEditableProperty property, object newValue, ICommandHistory history) { if (property.AcceptValueObject(newValue)) { var command = Command.Set(property, newValue); history.Insert(command); } }
public override bool AcceptsValue(object newValue) { return(FProperty.AcceptValueObject(newValue)); }