This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Topshelf.
Summary
Topshelf installer settings
- Assembly
- Cake
.Topshelf .dll - Namespace
- Cake
.Topshelf - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["TopshelfSettings"]
class Type type-node
Syntax
public class TopshelfSettings
Constructors
Name | Summary |
---|---|
TopshelfSettings |
Initializes a new instance of the TopshelfSettings class.
|
Properties
Name | Value | Summary |
---|---|---|
Arguments | Process |
Sets the arguments to use during installation
|
Autostart | bool |
Gets or sets if the service should automatically start when windows loads
|
Delayed | bool |
Gets or sets if the service should start automatically (delayed)
|
Description | string |
Gets or sets the service description the service should use when installing
|
Disabled | bool |
Gets or sets if the service should be set to disabled
|
DisplayName | string |
Gets or sets the display name the the service should use when installing
|
Instance | string |
Gets or sets the instance name if registering the service multiple times
|
LocalService | bool |
Gets or sets the service with run with the local service account
|
LocalSystem | bool |
Gets or sets the service with run with the local system account
|
NetworkService | bool |
Gets or sets the service with run with the network service account
|
Password | string |
Gets or sets the password for the specified username.
|
ServiceName | string |
Gets or sets the name that the service should use when installing
|
Timeout | int |
Gets or sets the time in milliseconds to wait for the Topshelf executable to install
|
Username | string |
Gets or sets the username to run the service.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
SetAutostart |
TopshelfSettings |
Sets if the service should automatically start when windows loads
Requires the Cake.Topshelf addin
|
SetDelayed |
TopshelfSettings |
Sets if the service should start automatically (delayed)
Requires the Cake.Topshelf addin
|
SetDescription |
TopshelfSettings |
Specifies a description for the specified service. If no string is specified, the description of the service is not modified. There is no limit to the number of characters in the service description.
Requires the Cake.Topshelf addin
|
SetDisabled |
TopshelfSettings |
Sets if the service should be set to disabled
Requires the Cake.Topshelf addin
|
SetDisplayName |
TopshelfSettings |
Specifies a friendly name that can be used by user interface programs to identify the service.
Requires the Cake.Topshelf addin
|
SetInstance |
TopshelfSettings |
Sets the instance name if registering the service multiple times
Requires the Cake.Topshelf addin
|
SetServiceName |
TopshelfSettings |
Specifies the time in milliseconds to wait for the Topshelf executable
Requires the Cake.Topshelf addin
|
SetServiceName |
TopshelfSettings |
Specifies the service name returned by the getkeyname operation.
Requires the Cake.Topshelf addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
UseLocalService |
TopshelfSettings |
Sets if the service with run with the local service account
Requires the Cake.Topshelf addin
|
UseLocalSystem |
TopshelfSettings |
Sets if the service with run with the local system account
Requires the Cake.Topshelf addin
|
UseNetworkService |
TopshelfSettings |
Sets if the service with run with the network service account
Requires the Cake.Topshelf addin
|
UsePassword |
TopshelfSettings |
Sets the credentials to use when connecting
Requires the Cake.Topshelf addin
|
UseUsername |
TopshelfSettings |
Sets the credentials to use when connecting
Requires the Cake.Topshelf addin
|
WithArguments |
TopshelfSettings |
Sets the arguments to use during installation
Requires the Cake.Topshelf addin
|