C# Class Jackett.Services.ServiceConfigService

Inheritance: IServiceConfigService
显示文件 Open project: Jackett/Jackett Class Usage Examples

Public Methods

Method Description
GetService ( string serviceName ) : ServiceController
Install ( ) : void
RemoveService ( ) : void
ServiceConfigService ( IConfigurationService c, Logger l ) : NLog
ServiceExists ( ) : bool
ServiceRunning ( ) : bool
Start ( ) : void
Stop ( ) : void
Uninstall ( ) : void

Method Details

GetService() public method

public GetService ( string serviceName ) : ServiceController
serviceName string
return System.ServiceProcess.ServiceController

Install() public method

public Install ( ) : void
return void

RemoveService() public method

public RemoveService ( ) : void
return void

ServiceConfigService() public method

public ServiceConfigService ( IConfigurationService c, Logger l ) : NLog
c IConfigurationService
l Logger
return NLog

ServiceExists() public method

public ServiceExists ( ) : bool
return bool

ServiceRunning() public method

public ServiceRunning ( ) : bool
return bool

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Uninstall() public method

public Uninstall ( ) : void
return void