C# Class HFMCmd.ConsoleOutput

Sends output to the console
Inheritance: FixedWidthOutput
Afficher le fichier Open project: agardiner/hfmcmd Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
RenderProgressBar ( ) : void

Method Details

ConsoleOutput() public méthode

public ConsoleOutput ( System.CommandLine cui ) : System
cui System.CommandLine
Résultat System

End() public méthode

public End ( bool suppress ) : void
suppress bool
Résultat void

EndProgress() public méthode

public EndProgress ( ) : void
Résultat void

InitProgress() public méthode

public InitProgress ( string operation, int iterations, int total ) : void
operation string
iterations int
total int
Résultat void

IterationComplete() public méthode

public IterationComplete ( ) : bool
Résultat bool

RenderProgressBar() protected méthode

protected RenderProgressBar ( ) : void
Résultat void

SetHeader() public méthode

public SetHeader ( ) : void
Résultat void

SetProgress() public méthode

public SetProgress ( int progress ) : bool
progress int
Résultat bool

Write() public méthode

public Write ( string text ) : void
text string
Résultat void

WriteLine() public méthode

public WriteLine ( string format ) : void
format string
Résultat void

WriteRecord() public méthode

public WriteRecord ( ) : void
Résultat void