Esempio n. 1
0
 public SetPropertyPartCommand(SnipPagePart part, T oldValue, T newValue, SetPropertyCore <T> setCoreMethod, PartAction action)
     : base(part, action)
 {
     _oldValue           = oldValue;
     _newValue           = newValue;
     this._setCoreMethod = setCoreMethod;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public SetPropertyPartCommand(SnipPagePart part, T oldValue, T newValue, SetPropertyCore <T> setCoreMethod)
     : this(part, oldValue, newValue, setCoreMethod, PartAction.None)
 {
 }
Esempio n. 4
0
        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;
        }
Esempio n. 5
0
 public void AddExecSetPropertyPartCommand <T>(SnipPagePart part, T oldValue, T newValue, SetPropertyCore <T> setCoreMethod)
 {
     AddExecSetPropertyPartCommand <T>(part, oldValue, newValue, setCoreMethod, PartAction.None);
 }