C# Class HFMCmd.ConsoleOutput

Sends output to the console
Inheritance: FixedWidthOutput
ファイルを表示 Open project: agardiner/hfmcmd Class Usage Examples

Public Methods

Method Description
ConsoleOutput ( System.CommandLine cui ) : System
End ( bool suppress ) : void
EndProgress ( ) : void
InitProgress ( string operation, int iterations, int total ) : void
IterationComplete ( ) : bool
SetHeader ( ) : void
SetProgress ( int progress ) : bool
Write ( string text ) : void
WriteLine ( string format ) : void
WriteRecord ( ) : void

Protected Methods

Method Description
RenderProgressBar ( ) : void

Method Details

ConsoleOutput() public method

public ConsoleOutput ( System.CommandLine cui ) : System
cui System.CommandLine
return System

End() public method

public End ( bool suppress ) : void
suppress bool
return void

EndProgress() public method

public EndProgress ( ) : void
return void

InitProgress() public method

public InitProgress ( string operation, int iterations, int total ) : void
operation string
iterations int
total int
return void

IterationComplete() public method

public IterationComplete ( ) : bool
return bool

RenderProgressBar() protected method

protected RenderProgressBar ( ) : void
return void

SetHeader() public method

public SetHeader ( ) : void
return void

SetProgress() public method

public SetProgress ( int progress ) : bool
progress int
return bool

Write() public method

public Write ( string text ) : void
text string
return void

WriteLine() public method

public WriteLine ( string format ) : void
format string
return void

WriteRecord() public method

public WriteRecord ( ) : void
return void