예제 #1
0
 /// <summary>
 /// Set the mapped value. This also raises the PropertyChanged event.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="propertyMapping"></param>
 /// <param name="value"></param>
 protected virtual void SetValue <T>(PropertyMapping <T> propertyMapping, T value)
 {
     propertyMapping.SetValue(value);
 }
예제 #2
0
        /// <summary>
        /// Set the mapped value. This also raises the PropertyChanged event.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="propertyMapping"></param>
        /// <param name="value"></param>
        protected virtual void SetValue <T>(PropertyMapping <T> propertyMapping, T value)
        {
            propertyMapping.SetValue(value);

            IsSynchronized = false;
        }