C# Class Jackett.Services.ServiceConfigService

Inheritance: IServiceConfigService
Afficher le fichier Open project: Jackett/Jackett Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public GetService ( string serviceName ) : ServiceController
serviceName string
Résultat System.ServiceProcess.ServiceController

Install() public méthode

public Install ( ) : void
Résultat void

RemoveService() public méthode

public RemoveService ( ) : void
Résultat void

ServiceConfigService() public méthode

public ServiceConfigService ( IConfigurationService c, Logger l ) : NLog
c IConfigurationService
l Logger
Résultat NLog

ServiceExists() public méthode

public ServiceExists ( ) : bool
Résultat bool

ServiceRunning() public méthode

public ServiceRunning ( ) : bool
Résultat bool

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Uninstall() public méthode

public Uninstall ( ) : void
Résultat void