Esempio n. 1
0
 public void NotifyChange(INotifyEvent e)
 {
     for (int index = 0; index < m_observerList.Count(); index++)
     {
         m_observerList[index].OnNotifyChange(this, e);
     }
 }
Esempio n. 2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         OnChange   = null;
         OnChanging = null;
         Clear();
         fList.Dispose();
     }
     base.Dispose(disposing);
 }
Esempio n. 3
0
 public HubLogEventSink(IHubContext <LoggingHub, ILoggingHub> loggingHub,
                        INotifyEvent <LogEventLevel> notifier)
 {
     notifier.Notify += LogEventLevelChanged;
     this.loggingHub  = loggingHub;
 }
Esempio n. 4
0
 public virtual void OnNotifyChange(INotifier notify, INotifyEvent e)
 {
 }