Пример #1
0
 public void SetService(IEnumerable <ServiceBaseEx> services)
 {
     _theService            = services.First();
     _theService._logEvent += _theService__logEvent;
     _theService._setEvent += _theService__setEvent;
     DisplayServiceStatus(ServiceState.Stopped);
 }
Пример #2
0
 public ServiceBaseEx()
 {
     _instance = this;
 }