示例#1
0
        public void ClearChangesMask <T, U>(BaseUpdateData <T> updateData, ref UpdateField <U> updateField) where T : new() where U : new()
        {
            _changesMask.Reset(updateData.Bit);

            IHasChangesMask hasChangesMask = (IHasChangesMask)updateField._value;

            if (hasChangesMask != null)
            {
                hasChangesMask.ClearChangesMask();
            }
        }
示例#2
0
 public void ClearChangesMask <T>(BaseUpdateData <T> updateData)
 {
     _changesMask.Reset(updateData.Bit);
     updateData.ClearChangesMask();
 }
示例#3
0
 public BaseUpdateData <T> ModifyValue <T>(BaseUpdateData <T> updateData)
 {
     _changesMask.Set(updateData.Bit);
     return(updateData);
 }