Example #1
0
 public static void AddWatch(Action<String, EventState> callback, String eventName, Guid eventID, int pollInterval)
 {
     EventMonitor e = new EventMonitor(callback, eventName, eventID, pollInterval);
     _monitor.Add(eventID, e);
     //ActivateTimer(e);
 }