Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. IDataExchangeCallback Callback
  2. {
  3. get
  4. {
  5. return OperationContext.Current.GetCallbackChannel<IDataExchangeCallback>();
  6. }
  7. }
  8.  
  9. protected void OnPropertyChanged(string propertyName)
  10. {
  11. PropertyChangedEventHandler handler = PropertyChanged;
  12.  
  13. if (handler != null)
  14. {
  15. Application.Current.Dispatcher.Invoke(() =>
  16. handler(this, new PropertyChangedEventArgs(propertyName)));
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement