public SetPropertyPartCommand(SnipPagePart part, T oldValue, T newValue, SetPropertyCore <T> setCoreMethod, PartAction action) : base(part, action) { _oldValue = oldValue; _newValue = newValue; this._setCoreMethod = setCoreMethod; }
public SetPropertyDesignerCommand(SnipPageDesigner designer, T oldValue, T newValue, SetPropertyCore <T> setCoreMethod, PartAction action) { this._designer = designer; this._oldValue = oldValue; this._newValue = newValue; this._setCoreMethod = setCoreMethod; this._action = action; }
public SetPropertyPartCommand(SnipPagePart part, T oldValue, T newValue, SetPropertyCore <T> setCoreMethod) : this(part, oldValue, newValue, setCoreMethod, PartAction.None) { }
public void AddExecSetPropertyDesignerCommand <T>(SnipPageDesigner designer, T oldValue, T newValue, SetPropertyCore <T> setCoreMethod, PartAction action) { SetPropertyDesignerCommand <T> cmd = new SetPropertyDesignerCommand <T>(designer, oldValue, newValue, setCoreMethod, action); cmd.Execute(); AddCommand(cmd); Designer.IsModified = true; }
public void AddExecSetPropertyPartCommand <T>(SnipPagePart part, T oldValue, T newValue, SetPropertyCore <T> setCoreMethod) { AddExecSetPropertyPartCommand <T>(part, oldValue, newValue, setCoreMethod, PartAction.None); }