C# Class Topshelf.Runtime.Windows.HostServiceInstaller

Inheritance: IDisposable
Mostrar archivo Open project: phatboyg/Topshelf Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
HostServiceInstaller ( HostSettings settings ) : System
HostServiceInstaller ( InstallHostSettings settings ) : System
InstallService ( Action beforeInstall, Action afterInstall, Action beforeRollback, Action afterRollback ) : void
UninstallService ( Action beforeUninstall, Action afterUninstall ) : void

Private Methods

Method Description
ConfigureServiceInstaller ( HostSettings settings, string dependencies, HostStartMode startMode ) : System.ServiceProcess.ServiceInstaller
ConfigureServiceProcessInstaller ( ServiceAccount account, string username, string password ) : System.ServiceProcess.ServiceProcessInstaller
CreateHostInstaller ( HostSettings settings, System.Configuration.Install.Installer installers ) : System.Configuration.Install.Installer
CreateInstaller ( HostSettings settings ) : System.Configuration.Install.Installer
CreateInstaller ( InstallHostSettings settings ) : System.Configuration.Install.Installer
CreateTransactedInstaller ( System.Configuration.Install.Installer installer ) : System.Configuration.Install.TransactedInstaller
SetStartMode ( System.ServiceProcess.ServiceInstaller installer, HostStartMode startMode ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HostServiceInstaller() public method

public HostServiceInstaller ( HostSettings settings ) : System
settings HostSettings
return System

HostServiceInstaller() public method

public HostServiceInstaller ( InstallHostSettings settings ) : System
settings InstallHostSettings
return System

InstallService() public method

public InstallService ( Action beforeInstall, Action afterInstall, Action beforeRollback, Action afterRollback ) : void
beforeInstall Action
afterInstall Action
beforeRollback Action
afterRollback Action
return void

UninstallService() public method

public UninstallService ( Action beforeUninstall, Action afterUninstall ) : void
beforeUninstall Action
afterUninstall Action
return void