Пример #1
0
 public static StatusChangeEventArgs FromService(StatusLoggerServiceReference.StatusChangeEventArgs e)
 {
     return(new StatusChangeEventArgs()
     {
         Timestamp = e.Timestamp,
         Key = e.Key,
         OldValue = e.OldValue,
         OldValueString = e.OldValueString,
         NewValue = e.NewValue,
         NewValueString = e.NewValueString
     });
 }
Пример #2
0
 public void OnChanged(StatusLoggerServiceReference.StatusChangeEventArgs e)
 {
     Changed(this, StatusChangeEventArgs.FromService(e));
 }