Метод | Описание | |
---|---|---|
Add ( string name, bool autostart = false ) : bool |
Add a new service, by name, to the manager, optionally starting it automatically
|
|
AddList ( IList |
Add a list of services, by name, to the manager, optionally autostarting all of them
|
|
Clear ( ) : bool |
Clear all currently registered services
|
|
GetInstance ( string name ) : IService | ||
GetServices ( ) : IList |
Return string list of registered services
|
|
RestartAll ( ) : bool |
Attempt to restart all currently registered services
|
|
StartAll ( ) : bool |
Attempt to start all currently registered services
|
|
StopAll ( ) : bool |
Attempt to stop all currently registered services
|
Метод | Описание | |
---|---|---|
Start ( IService service ) : bool |
Start and log the specified service
|
|
Stop ( IService service ) : bool |
Stop and log the specified service
|
public static Add ( string name, bool autostart = false ) : bool | ||
name | string | |
autostart | bool | |
Результат | bool |
public static AddList ( IList |
||
names | IList |
|
autostart | bool | |
Результат | bool |
public static GetInstance ( string name ) : IService | ||
name | string | |
Результат | IService |