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