C# 클래스 SimpleServices.Service

파일 보기 프로젝트 열기: davidwhitney/SimpleServices

공개 메소드들

메소드 설명
Host ( ) : void
Service ( string args, Func createServices, Action configureContext = null, ServiceProcessInstaller>.Action installationSettings = null, Func registerContainer = null ) : System

Executes the provided IWindowsServices and supports automatic installation using the command line params -install / -uninstall

비공개 메소드들

메소드 설명
CreateHostableServices ( ) : IWindowsService[]
Execute ( IWindowsService services, string args ) : void
LaunchInteractiveServices ( IEnumerable services, string args ) : void
LaunchNonInteractiveServices ( IWindowsService services ) : void
NotifyApplicationStartup ( ) : void
ShutdownServices ( IEnumerable services ) : void
Wrap ( IWindowsService services ) : ServiceContainer

메소드 상세

Host() 공개 메소드

public Host ( ) : void
리턴 void

Service() 공개 메소드

Executes the provided IWindowsServices and supports automatic installation using the command line params -install / -uninstall
public Service ( string args, Func createServices, Action configureContext = null, ServiceProcessInstaller>.Action installationSettings = null, Func registerContainer = null ) : System
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
리턴 System