Beispiel #1
0
 // Remove a client
 public static void RemoveClient(EventClientEx client)
 {
     clients = MulticastDelegate.Remove(clients, client);
 }
Beispiel #2
0
 // Add a client
 //  A client will get both the message and a severity
 //  level. The client is responsible for calling the
 //  correct logging function based on the severity.
 public static void AddClient(EventClientEx client)
 {
     clients = MulticastDelegate.Combine(clients, client);
 }