C# Class Goblinfactory.Konsole.Mocks.Line

ファイルを表示 Open project: goblinfactory/progress-bar

Public Methods

Method Description
Line ( int width, char c, ConsoleColor color, ConsoleColor background ) : System
ToString ( ) : string
Write ( ConsoleColor color, ConsoleColor background, int x, string text ) : string

Writes text to a line, returns any overflow.

WriteFormatted ( ConsoleColor color, ConsoleColor background, int x, string format ) : string

Method Details

Line() public method

public Line ( int width, char c, ConsoleColor color, ConsoleColor background ) : System
width int
c char
color ConsoleColor
background ConsoleColor
return System

ToString() public method

public ToString ( ) : string
return string

Write() public method

Writes text to a line, returns any overflow.
public Write ( ConsoleColor color, ConsoleColor background, int x, string text ) : string
color ConsoleColor
background ConsoleColor
x int
text string
return string

WriteFormatted() public method

public WriteFormatted ( ConsoleColor color, ConsoleColor background, int x, string format ) : string
color ConsoleColor
background ConsoleColor
x int
format string
return string