C# 클래스 Mono.Addins.ConsoleProgressStatus

An IProgressStatus class which writes output to the console.
상속: System.MarshalByRefObject, IProgressStatus
파일 보기 프로젝트 열기: slluis/mono-addins 1 사용 예제들

공개 메소드들

메소드 설명
Cancel ( ) : void
ConsoleProgressStatus ( bool verboseLog ) : System

Initializes a new instance

ConsoleProgressStatus ( int logLevel ) : System

Initializes a new instance

Log ( string msg ) : void
ReportError ( string message, Exception exception ) : void
ReportWarning ( string message ) : void
SetMessage ( string msg ) : void
SetProgress ( double progress ) : void

메소드 상세

Cancel() 공개 메소드

public Cancel ( ) : void
리턴 void

ConsoleProgressStatus() 공개 메소드

Initializes a new instance
public ConsoleProgressStatus ( bool verboseLog ) : System
verboseLog bool /// Set to true to enabled verbose log ///
리턴 System

ConsoleProgressStatus() 공개 메소드

Initializes a new instance
public ConsoleProgressStatus ( int logLevel ) : System
logLevel int /// Verbosity level. 0: not verbose, 1: normal, >1 extra verbose ///
리턴 System

Log() 공개 메소드

public Log ( string msg ) : void
msg string
리턴 void

ReportError() 공개 메소드

public ReportError ( string message, Exception exception ) : void
message string
exception System.Exception
리턴 void

ReportWarning() 공개 메소드

public ReportWarning ( string message ) : void
message string
리턴 void

SetMessage() 공개 메소드

public SetMessage ( string msg ) : void
msg string
리턴 void

SetProgress() 공개 메소드

public SetProgress ( double progress ) : void
progress double
리턴 void