C# Class WebApplications.Utilities.Service.Client.ConsoleClient

Exibir arquivo Open project: webappsuk/CoreLibraries

Public Methods

Method Description
Run ( [ description, [ pipe ) : void

Runs the client asynchronously, optionally connecting to the service with the given pipe. If no pipe is given, or the pipe is invalid, the user will be prompted to select a service to connect to.

Private Methods

Method Description
OnReceive ( [ message ) : void
RunAsync ( [ description, [ pipe, CancellationToken token = default(CancellationToken) ) : Task
WritePrompt ( [ server ) : void

Writes the prompt.

WriteServerList ( ) : void

Writes the pipe list.

Method Details

Run() public static method

Runs the client asynchronously, optionally connecting to the service with the given pipe. If no pipe is given, or the pipe is invalid, the user will be prompted to select a service to connect to.
public static Run ( [ description, [ pipe ) : void
description [ The description.
pipe [ The pipe.
return void