Пример #1
0
        protected override bool OnUpdateFrom(IdTagObjectBase <Role> newValue, List <string> updatedPropertyNames)
        {
            var isUpdated = base.OnUpdateFrom(newValue, updatedPropertyNames);

            isUpdated = UpdateValue(() => RoleName, newValue, updatedPropertyNames) | isUpdated;
            isUpdated = UpdateValue(() => Thumb, newValue, updatedPropertyNames) | isUpdated;

            return(isUpdated);
        }
Пример #2
0
 protected override bool OnUpdateFrom(IdTagObjectBase <T> newValue, List <string> updatedPropertyNames)
 {
     return(UpdateValue(() => Tag, newValue, updatedPropertyNames));
 }