C# Class Stumps.Examples.ConsoleHelper

A class that provides common console display functionality used across multiple examples.
Afficher le fichier Open project: Cayan-LLC/stumps

Méthodes publiques

Méthode Description
ApplicationBanner ( string applicationName ) : void

Shows the banner displaying the application name.

ShowHttpResponse ( StumpsServer server, StumpsContextEventArgs e ) : void

Shows the response to an HTTP request on the screen.

WaitForExit ( ) : void

Prompts the user to press the escape key to exit.

Method Details

ApplicationBanner() public static méthode

Shows the banner displaying the application name.
public static ApplicationBanner ( string applicationName ) : void
applicationName string The name of the application.
Résultat void

ShowHttpResponse() public static méthode

Shows the response to an HTTP request on the screen.
public static ShowHttpResponse ( StumpsServer server, StumpsContextEventArgs e ) : void
server Stumps.StumpsServer The that processed the request.
e Stumps.StumpsContextEventArgs The instance containing the event data.
Résultat void

WaitForExit() public static méthode

Prompts the user to press the escape key to exit.
public static WaitForExit ( ) : void
Résultat void