C# 클래스 Stumps.Examples.ConsoleHelper

A class that provides common console display functionality used across multiple examples.
파일 보기 프로젝트 열기: Cayan-LLC/stumps

공개 메소드들

메소드 설명
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