Method | Description | |
---|---|---|
Host ( ) : void | ||
Service ( string args, Func |
Executes the provided IWindowsServices and supports automatic installation using the command line params -install / -uninstall
|
Method | Description | |
---|---|---|
CreateHostableServices ( ) : IWindowsService[] | ||
Execute ( IWindowsService services, string args ) : void | ||
LaunchInteractiveServices ( IEnumerable |
||
LaunchNonInteractiveServices ( IWindowsService services ) : void | ||
NotifyApplicationStartup ( ) : void | ||
ShutdownServices ( IEnumerable |
||
Wrap ( IWindowsService services ) : |
public Service ( string args, Func |
||
args | string | |
createServices | Func |
Function which provides a WindowsServiceCollection of services to execute |
configureContext | Action |
Optional application context configuration |
installationSettings | ServiceProcessInstaller>.Action | Optional installer configuration with semi-sensible defaults |
registerContainer | Func |
Optionally register an IoC container |
return | System |