C# Class ObscureWare.Console.Demo.Shared.ConsoleDemoExtensions

Show file Open project: ObscureWare/Console

Public Methods

Method Description
PrintLabel ( IConsole console, int posX, int posY, int labelWidth, string text, ObscureWare.Console.Demo.Shared.LabelStyle style ) : void
PrintStatus ( IConsole console, string title, object value, ObscureWare.Console.Demo.Shared.StatusStyles statusStyles, StatusStyle usedStyle ) : void
WaitBeforeQuit ( IConsole console ) : void
WaitForNextPage ( IConsole console ) : void

Method Details

PrintLabel() public static method

public static PrintLabel ( IConsole console, int posX, int posY, int labelWidth, string text, ObscureWare.Console.Demo.Shared.LabelStyle style ) : void
console IConsole
posX int
posY int
labelWidth int
text string
style ObscureWare.Console.Demo.Shared.LabelStyle
return void

PrintStatus() public static method

public static PrintStatus ( IConsole console, string title, object value, ObscureWare.Console.Demo.Shared.StatusStyles statusStyles, StatusStyle usedStyle ) : void
console IConsole
title string
value object
statusStyles ObscureWare.Console.Demo.Shared.StatusStyles
usedStyle StatusStyle
return void

WaitBeforeQuit() public static method

public static WaitBeforeQuit ( IConsole console ) : void
console IConsole
return void

WaitForNextPage() public static method

public static WaitForNextPage ( IConsole console ) : void
console IConsole
return void