C# Class CK.AppRecovery.CrashLogWriter

Exposes a TextWriter and safe write methods (as much as they can be).
Inheritance: IDisposable
Afficher le fichier Open project: Invenietis/ck-certified Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
WriteException ( Exception e ) : void
WriteException ( TextWriter w, object ex ) : void
WriteIndented ( TextWriter w, string s ) : void
WriteLineException ( TextWriter w, object ex ) : void
WriteLineIndented ( TextWriter w, string s ) : void
WriteLineObject ( object o ) : void
WriteLineProperties ( TextWriter w, string name, object objects ) : void
WriteLineProperty ( TextWriter w, string name, object o ) : void
WriteObject ( TextWriter w, object o ) : void
WriteObjectToString ( object o, bool isInline ) : void
WriteProperty ( TextWriter w, string name, object o ) : bool
WriteProperty ( string name, object o ) : void

Private Methods

Méthode Description
CrashLogWriter ( TextWriter w ) : System
WriteLineObjectToString ( TextWriter w, object o, bool isInline ) : void
WriteObjectToString ( TextWriter w, object o, bool isInline ) : bool

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

WriteException() public méthode

public WriteException ( Exception e ) : void
e System.Exception
Résultat void

WriteException() public static méthode

public static WriteException ( TextWriter w, object ex ) : void
w System.IO.TextWriter
ex object
Résultat void

WriteIndented() public static méthode

public static WriteIndented ( TextWriter w, string s ) : void
w System.IO.TextWriter
s string
Résultat void

WriteLineException() public static méthode

public static WriteLineException ( TextWriter w, object ex ) : void
w System.IO.TextWriter
ex object
Résultat void

WriteLineIndented() public static méthode

public static WriteLineIndented ( TextWriter w, string s ) : void
w System.IO.TextWriter
s string
Résultat void

WriteLineObject() public méthode

public WriteLineObject ( object o ) : void
o object
Résultat void

WriteLineProperties() public static méthode

public static WriteLineProperties ( TextWriter w, string name, object objects ) : void
w System.IO.TextWriter
name string
objects object
Résultat void

WriteLineProperty() public static méthode

public static WriteLineProperty ( TextWriter w, string name, object o ) : void
w System.IO.TextWriter
name string
o object
Résultat void

WriteObject() public static méthode

public static WriteObject ( TextWriter w, object o ) : void
w System.IO.TextWriter
o object
Résultat void

WriteObjectToString() public méthode

public WriteObjectToString ( object o, bool isInline ) : void
o object
isInline bool
Résultat void

WriteProperty() public static méthode

public static WriteProperty ( TextWriter w, string name, object o ) : bool
w System.IO.TextWriter
name string
o object
Résultat bool

WriteProperty() public méthode

public WriteProperty ( string name, object o ) : void
name string
o object
Résultat void