C# Class Stumps.Examples.ConsoleHelper

A class that provides common console display functionality used across multiple examples.
ファイルを表示 Open project: Cayan-LLC/stumps

Public Methods

Method 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 method

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

ShowHttpResponse() public static method

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.
return void

WaitForExit() public static method

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