Property | Type | Description | |
---|---|---|---|
ConsoleConnection | System | ||
GetUserNamePassword | void | ||
WritePrompt | void |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
OnDisconnect ( ) : void |
Called when the server disconnects the UI.
|
|
RunAsync ( [ service, RunMode runMode = RunMode.Default, [ defaultLogFormat = null, LoggingLevels defaultLoggingLevels = LoggingLevels.All, |
Runs the specified service using the command console as a user interface.
|
Method | Description | |
---|---|---|
ConsoleConnection ( FormatBuilder defaultLogFormat, LoggingLevels defaultLoggingLevels, |
Prevents a default instance of the ConsoleConnection class from being created.
|
|
GetUserNamePassword ( string &userName, string &password ) : void |
Gets the user name and password from the console.
|
|
WritePrompt ( [ service ) : void |
Writes the prompt.
|
public static RunAsync ( [ service, RunMode runMode = RunMode.Default, [ defaultLogFormat = null, LoggingLevels defaultLoggingLevels = LoggingLevels.All, |
||
service | [ | The service. |
runMode | RunMode | The run mode. |
defaultLogFormat | [ | The default log format. |
defaultLoggingLevels | LoggingLevels | The default logging levels. |
token | The token. | |
return | Task |