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

Afficher le fichier Open project: webappsuk/CoreLibraries

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat void