public static void StopService() { if (_me != null) { _me.DoStopService(); _me = null; } }
public static void StartService(IMonitorService serviceImpl) { if (_me == null) { _me = new CommunicationService(); _me.DoStartService(serviceImpl); } }