Пример #1
0
        protected internal Boolean PropertyChanged(Int16 oldValue, Int16 newValue)
        {
            if (state.Equals(ItemState.Unchanged).IsFalse())
            {
                return(true);
            }

            if (oldValue.NotEquals(newValue))
            {
                state = ItemState.Modified;
                return(true);
            }
            return(false);
        }