C# Class HFMCmd.NullOutput

Implementation of IOutput that does not output - like a /dev/nul device, it ignores output sent to it. Use this when no output is desired, since a valid IOutput (non-null) IOutput instance must be supplied to many methods. Use of this class prevents methods that take an IOutput from having to check if it is non-null.
Inheritance: IOutput
Afficher le fichier Open project: agardiner/hfmcmd

Méthodes publiques

Свойство Type Description
Instance NullOutput

Méthodes publiques

Méthode Description
End ( bool suppress ) : void
EndProgress ( ) : void
InitProgress ( string operation, int iterations ) : void
InitProgress ( string operation, int iterations, int total ) : void
IterationComplete ( ) : bool
SetHeader ( ) : void
SetProgress ( int progress ) : bool
WriteLine ( string format ) : void
WriteRecord ( ) : void

Method Details

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 ) : void
operation string
iterations int
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

SetHeader() public méthode

public SetHeader ( ) : void
Résultat void

SetProgress() public méthode

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

WriteLine() public méthode

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

WriteRecord() public méthode

public WriteRecord ( ) : void
Résultat void

Property Details

Instance public_oe static_oe property

public static NullOutput,HFMCmd Instance
Résultat NullOutput