C# Класс Stumps.Examples.ConsoleHelper

A class that provides common console display functionality used across multiple examples.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ApplicationBanner() публичный статический Метод

Shows the banner displaying the application name.
public static ApplicationBanner ( string applicationName ) : void
applicationName string The name of the application.
Результат void

ShowHttpResponse() публичный статический Метод

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.
Результат void

WaitForExit() публичный статический Метод

Prompts the user to press the escape key to exit.
public static WaitForExit ( ) : void
Результат void