C# Класс 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.
Наследование: IOutput
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Instance NullOutput

Открытые методы

Метод Описание
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

Описание методов

End() публичный Метод

public End ( bool suppress ) : void
suppress bool
Результат void

EndProgress() публичный Метод

public EndProgress ( ) : void
Результат void

InitProgress() публичный Метод

public InitProgress ( string operation, int iterations ) : void
operation string
iterations int
Результат void

InitProgress() публичный Метод

public InitProgress ( string operation, int iterations, int total ) : void
operation string
iterations int
total int
Результат void

IterationComplete() публичный Метод

public IterationComplete ( ) : bool
Результат bool

SetHeader() публичный Метод

public SetHeader ( ) : void
Результат void

SetProgress() публичный Метод

public SetProgress ( int progress ) : bool
progress int
Результат bool

WriteLine() публичный Метод

public WriteLine ( string format ) : void
format string
Результат void

WriteRecord() публичный Метод

public WriteRecord ( ) : void
Результат void

Описание свойств

Instance публичное статическое свойство

public static NullOutput,HFMCmd Instance
Результат NullOutput