protected PropertyDirtyState(PropertyDirtyTracker tracker, IProperty <T> property)
 {
     Tracker  = tracker;
     Property = property;
     Name     = property.NameArgs.PropertyName;
     property.ValueChanged += HandlePropertyValueChanged;
 }
        private static IPropertyDirtyState CreatePropertyDirtyState(PropertyDirtyTracker tracker, IProperty property)
        {
            var type           = property.Type;
            var dirtyStateType = GetDirtyStateType(type);
            var dirtyState     = (IPropertyDirtyState)Activator.CreateInstance(dirtyStateType, tracker, property);

            return(dirtyState);
        }
 public SingleDirtyState(PropertyDirtyTracker tracker, IProperty <T> property) : base(tracker, property)
 {
 }
Esempio n. 4
0
 public CollectionDirtyStateT(PropertyDirtyTracker tracker, IProperty <T> property) : base(tracker, property)
 {
 }