Пример #1
0
 /// <summary>
 /// Unsubscribe to the log-event delegating to the observer.
 /// </summary>
 public void Detach()
 {
     m_NotifyLogger -= NotifyLogger;
     m_NotifyProgress -= NotifyProgress;
 }
Пример #2
0
 /// <summary>
 /// Subscribe to the log-event delegating to the observer.
 /// </summary>
 public void Attach()
 {
     m_NotifyLogger += NotifyLogger;
     m_NotifyProgress += NotifyProgress;
 }