Пример #1
0
 public NDistServiceNode(IScsServiceClient<INDistManagementService> client, NDistServerListener serverListener, ServiceInfo service)
 {
     Service = service;
     _client = client;
     _serverListener = serverListener;
     _serverListener.ServiceRunningStatusChanged += ServerListener_ServiceRunningStatusChanged;
 }
Пример #2
0
 public void OnServiceRunningStatusChanged(ServiceInfo service)
 {
     Application.Current.Dispatcher.Invoke(
         new Action(() => EventHelper.Invoke(
             ServiceRunningStatusChanged,
             this,
             new ServiceRunningStatusChangedEventArgs
                 {
                     Service = service
                 })));
 }
Пример #3
0
 public void OnServiceUnInstalled(ServiceInfo service)
 {
 }