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