Пример #1
0
 public void DisablingNonObservableEventListenerThrows()
 {
     using (var listener = new NotObservableEventListener())
     {
         listener.DisableEvents("some source name");
     }
 }
Пример #2
0
 public void EnablingNonObservableEventListenerThrows()
 {
     using (var listener = new NotObservableEventListener())
     {
         listener.EnableEvents("some source name", EventLevel.LogAlways);
     }
 }
 public void DisablingNonObservableEventListenerThrows()
 {
     using (var listener = new NotObservableEventListener())
     {
         listener.DisableEvents("some source name");
     }
 }
 public void EnablingNonObservableEventListenerThrows()
 {
     using (var listener = new NotObservableEventListener())
     {
         listener.EnableEvents("some source name", EventLevel.LogAlways);
     }
 }