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
파일 보기 프로젝트 열기: agardiner/hfmcmd

공개 프로퍼티들

프로퍼티 타입 설명
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