C# Класс Mono.Addins.ConsoleProgressStatus

An IProgressStatus class which writes output to the console.
Наследование: System.MarshalByRefObject, IProgressStatus
Показать файл Открыть проект Примеры использования класса

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

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