Advertisement
d0ntth1nc

Untitled

Jan 10th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1. // We derive from class 'EventArgs'
  2.     public class PropertyChangedEventArgs : EventArgs
  3.     {
  4.         public string PropertyName { get; private set; }
  5.         public dynamic OldValue { get; private set; }
  6.         public dynamic NewValue { get; private set; }
  7.  
  8.         public PropertyChangedEventArgs (string propName, dynamic oldVal, dynamic newVal )
  9.         {
  10.             this.PropertyName = propName;
  11.             this.OldValue = oldVal;
  12.             this.NewValue = newVal;
  13.         }
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement