C# Class Topshelf.StartParameters.SpHostServiceInstaller

Inheritance: IDisposable
Show file Open project: r1pper/Topshelf.StartParameters Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
InstallService ( Action beforeInstall, Action afterInstall, Action beforeRollback, Action afterRollback ) : void
SpHostServiceInstaller ( HostSettings settings, HostConfigurator configurator ) : System
SpHostServiceInstaller ( InstallHostSettings settings, HostConfigurator configurator ) : System
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

InstallService() public method

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

SpHostServiceInstaller() public method

public SpHostServiceInstaller ( HostSettings settings, HostConfigurator configurator ) : System
settings HostSettings
configurator HostConfigurator
return System

SpHostServiceInstaller() public method

public SpHostServiceInstaller ( InstallHostSettings settings, HostConfigurator configurator ) : System
settings InstallHostSettings
configurator HostConfigurator
return System

UninstallService() public method

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