C# Class Rackspace.Cloud.Server.Agent.Actions.ServiceRestarter

Inheritance: IServiceRestarter
Mostrar archivo Open project: rackerlabs/openstack-guest-agents-windows-xenserver

Public Methods

Method Description
Restart ( string serviceName ) : void
ServiceExists ( string serviceName ) : bool
ServiceRestarter ( IServiceStopper _serviceStopper, IServiceStarter _serviceStarter, ILogger logger ) : System

Method Details

Restart() public method

public Restart ( string serviceName ) : void
serviceName string
return void

ServiceExists() public method

public ServiceExists ( string serviceName ) : bool
serviceName string
return bool

ServiceRestarter() public method

public ServiceRestarter ( IServiceStopper _serviceStopper, IServiceStarter _serviceStarter, ILogger logger ) : System
_serviceStopper IServiceStopper
_serviceStarter IServiceStarter
logger ILogger
return System