Exemplo n.º 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);
        }
Exemplo n.º 2
0
 protected override bool OnUpdateFrom(IdTagObjectBase <T> newValue, List <string> updatedPropertyNames)
 {
     return(UpdateValue(() => Tag, newValue, updatedPropertyNames));
 }