Exemplo n.º 1
0
 public StatusChangeEventArgs(string key, object oldValue, object newValue)
 {
     Timestamp      = new DateTime();
     Key            = key;
     OldValue       = oldValue;
     OldValueString = LocalStatusLogger.FormatValue(oldValue);
     NewValue       = newValue;
     NewValueString = LocalStatusLogger.FormatValue(newValue);
 }
Exemplo n.º 2
0
 public StatusLoggerWriter(LocalStatusLogger logger, string path)
 {
     Path            = path;
     logger.Changed += OnChanged;
 }
Exemplo n.º 3
0
 public static LocalStatusLogger GetInstance()
 {
     return(instance ?? (instance = new LocalStatusLogger()));
 }