示例#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)
 {
 }