PeanutButter
Loading...
Searching...
No Matches
PeanutButter.ServiceShell.IServiceCommandlineOptions Interface Reference

Commandline options for services which are implemented via ServiceShell. More...

Inheritance diagram for PeanutButter.ServiceShell.IServiceCommandlineOptions:
PeanutButter.ServiceShell.ServiceCommandlineOptions

Properties

bool Install [get, set]
 Instructs the service to install itself.
bool Uninstall [get, set]
 Instructs the service to uninstall itself.
bool RunOnce [get, set]
 Instructs the service to run one round of operations and then exit.
bool Debug [get, set]
 Instructs the service to run continually, with logging set to ALL.
int Wait [get, set]
 Instructs the service to wait this many seconds before actually doing a round of work for RunOnce.
bool ShowVersion [get, set]
 Instructs the service to display its current version.
bool StartService [get, set]
 Instructs the service to start itself, if it is registered.
bool StopService [get, set]
 Instructs the service to stop itself, if it is registered.
bool ManualStart [get, set]
 Instructs the service to install with manual startup, when invoked to install itself.
bool Disabled [get, set]
 Instructs the service to install itself disabled, when invoked to install itself.

Detailed Description

Commandline options for services which are implemented via ServiceShell.

Property Documentation

◆ Debug

bool PeanutButter.ServiceShell.IServiceCommandlineOptions.Debug
getset

Instructs the service to run continually, with logging set to ALL.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.

◆ Disabled

bool PeanutButter.ServiceShell.IServiceCommandlineOptions.Disabled
getset

Instructs the service to install itself disabled, when invoked to install itself.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.

◆ Install

bool PeanutButter.ServiceShell.IServiceCommandlineOptions.Install
getset

Instructs the service to install itself.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.

◆ ManualStart

bool PeanutButter.ServiceShell.IServiceCommandlineOptions.ManualStart
getset

Instructs the service to install with manual startup, when invoked to install itself.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.

◆ RunOnce

bool PeanutButter.ServiceShell.IServiceCommandlineOptions.RunOnce
getset

Instructs the service to run one round of operations and then exit.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.

◆ ShowVersion

bool PeanutButter.ServiceShell.IServiceCommandlineOptions.ShowVersion
getset

Instructs the service to display its current version.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.

◆ StartService

bool PeanutButter.ServiceShell.IServiceCommandlineOptions.StartService
getset

Instructs the service to start itself, if it is registered.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.

◆ StopService

bool PeanutButter.ServiceShell.IServiceCommandlineOptions.StopService
getset

Instructs the service to stop itself, if it is registered.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.

◆ Uninstall

bool PeanutButter.ServiceShell.IServiceCommandlineOptions.Uninstall
getset

Instructs the service to uninstall itself.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.

◆ Wait

int PeanutButter.ServiceShell.IServiceCommandlineOptions.Wait
getset

Instructs the service to wait this many seconds before actually doing a round of work for RunOnce.

Implemented in PeanutButter.ServiceShell.ServiceCommandlineOptions.


The documentation for this interface was generated from the following file:
  • source/Win32Service/PeanutButter.ServiceShell/ServiceCommandlineOptions.cs