public static void SetByCommand(this IEditableProperty property, object newValue, ModelMapper mapper) { if (mapper.CanMap <ICommandHistory>()) { property.SetByCommand(newValue, mapper.Map <ICommandHistory>()); } }
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 SetPropertyMenuEntry(ICommandHistory commandHistory, IEditableProperty property) : base(commandHistory, "Change Value") { Property = property; }
public EditablePropertyCell(IEditableProperty property) : base(property) { FProperty = property; }
public EditablePropertyCellProvider(IEditableProperty property) { FNameCell = new Cell(property.Name, typeof(string), false); FValueCell = new EditablePropertyCell(property); }
public EditablePropertyWrapper(IEditableProperty <TAttributeGroup, TDeclaringType, TTypeReference, TAccessor> property) { WrappedObject = property; }
public EditablePropertyCellProvider(IEditableProperty property) { FNameCell = new Cell(property.Name, property.ValueType, false); FValueCell = new EditablePropertyCell(property); }