Пример #1
0
 /// <summary>
 /// Detach Message Interceptor at Runtime
 /// </summary>
 /// <param name="observer"></param>
 public void Detach(IServiceMessageInterceptor observer)
 {
     _observers.Remove(observer);
 }
Пример #2
0
 /// <summary>
 /// Attach Message Interceptor at Runtime
 /// </summary>
 /// <param name="observer"></param>
 public void Attach(IServiceMessageInterceptor observer)
 {
     _observers.Add(observer);
 }