Beispiel #1
0
 protected virtual void OnPropertyChanged <TValue>(
     object sender, string propertyName, PropertyChangeKind kind, TValue oldValue, TValue newValue, int index
     )
 {
     if (!_IsPropertyChangedEmpty)
     {
         var e = new DetailedPropertyChangedEventArgs <TValue>(propertyName, kind, oldValue, newValue, index);
         OnPropertyChanged(sender, e);
     }
 }
Beispiel #2
0
 // ========================================
 // constructor
 // ========================================
 public DetailedPropertyChangingEventArgs(string propertyName, PropertyChangeKind kind) : base(propertyName)
 {
     _kind      = kind;
     _index     = -1;
     _isIndexed = false;
 }
Beispiel #3
0
 public DetailedPropertyChangingEventArgs(string propertyName, PropertyChangeKind kind, int index) : base(propertyName)
 {
     _kind      = kind;
     _index     = index;
     _isIndexed = true;
 }
 public virtual void NotifyPropertyChanged <TValue>(
     object sender, string propertyName, PropertyChangeKind kind, TValue oldValue, TValue newValue, int index
     )
 {
     base.OnPropertyChanged <TValue>(sender, propertyName, kind, oldValue, newValue, index);
 }