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