StauffConsulting.Essentials.

TextWriterProgressReporter

C#: 
public class TextWriterProgressReporter :
    object,
    StauffConsulting.Essentials.IProgressReporter

VB: 
Public Class TextWriterProgressReporter
    Inherits Object
    Implements StauffConsulting.Essentials.IProgressReporter

Type Ancestry:  Object
+---TextWriterProgressReporter


Progress reporter that writes to a TextWriter.

Summary Info

Constructor Summary

TextWriterProgressReporter

Field Summary

int MaxErrors
int MaxErrorsExitCode
bool Terse

Property Summary

int ErrorCount
int WarningCount

Method Summary

Clear
Indent
Log
LogError
LogException
LogException
LogLine
LogWarning
Outdent
OutdentAll

Miscellany Summary

Constructor Details


TextWriterProgressReporter

C#: 
TextWriterProgressReporter (System.IO.TextWriter tw)

VB: 
Sub New(ByVal tw As System.IO.TextWriter)

Parameters

tw  

Field Details


MaxErrors

C#: 
int MaxErrors;

VB: 
MaxErrors As Integer


MaxErrorsExitCode

C#: 
int MaxErrorsExitCode;

VB: 
MaxErrorsExitCode As Integer


Terse

C#: 
bool Terse;

VB: 
Terse As Boolean

Property Details


ErrorCount

C#: 
int ErrorCount

VB: 
Property ErrorCount() As Integer

Accessors:   get and set


WarningCount

C#: 
int WarningCount

VB: 
Property WarningCount() As Integer

Accessors:   get and set

Method Details


Clear

C#: 
Void Clear()

VB: 
Function Clear() As Void


Indent

C#: 
Void Indent()

VB: 
Function Indent() As Void


Log

C#: 
Void Log(string text)

VB: 
Function Log(ByVal text As String) As Void

Parameters

text  


LogError

C#: 
Void LogError(string descr)

VB: 
Function LogError(ByVal descr As String) As Void

Parameters

descr  


LogException

C#: 
Void LogException(System.Exception exc)

VB: 
Function LogException(ByVal exc As System.Exception) As Void

Parameters

exc  


LogException

C#: 
Void LogException(System.Exception exc,
    string context)

VB: 
Function LogException(ByVal exc As System.Exception, ByVal context As String) As Void

Parameters

exc  
context  


LogLine

C#: 
Void LogLine(string descr)

VB: 
Function LogLine(ByVal descr As String) As Void

Parameters

descr  


LogWarning

C#: 
Void LogWarning(string descr)

VB: 
Function LogWarning(ByVal descr As String) As Void

Parameters

descr  


Outdent

C#: 
Void Outdent()

VB: 
Function Outdent() As Void


OutdentAll

C#: 
Void OutdentAll()

VB: 
Function OutdentAll() As Void


generated by DocGenDotNet on 18 Nov 2008 6:35:01 PM