| 123456789101112131415161718192021 | 
							- using System;
 
- using System.ComponentModel;
 
- using System.Windows;
 
- namespace PRSServer
 
- {
 
-     public class PropertyChangedBase : INotifyPropertyChanged
 
-     {
 
-         public event PropertyChangedEventHandler PropertyChanged;
 
-         protected virtual void OnPropertyChanged(string propertyName)
 
-         {
 
-             Application.Current.Dispatcher.BeginInvoke((Action)(() =>
 
-             {
 
-                 var handler = PropertyChanged;
 
-                 if (handler != null)
 
-                     handler(this, new PropertyChangedEventArgs(propertyName));
 
-             }));
 
-         }
 
-     }
 
- }
 
 
  |