Esempio n. 1
0
        protected override void OnRedo()
        {
            base.OnRedo();
            var field = DiffUtility.GetField(this.dataItem, this.fieldName);

            DiffUtility.SetField(this.destItem, this.fieldName, field);
        }
Esempio n. 2
0
 public CopyFieldAction(object dataItem, object destItem, string fieldName)
 {
     this.dataItem  = dataItem;
     this.destItem  = destItem;
     this.fieldName = fieldName;
     this.oldField  = DiffUtility.GetField(destItem, fieldName);
 }