C# Class CK.AppRecovery.CrashLogWriter

Exposes a TextWriter and safe write methods (as much as they can be).
Inheritance: IDisposable
ファイルを表示 Open project: Invenietis/ck-certified Class Usage Examples

Public Methods

Method 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

Method 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 method

public Dispose ( ) : void
return void

WriteException() public method

public WriteException ( Exception e ) : void
e System.Exception
return void

WriteException() public static method

public static WriteException ( TextWriter w, object ex ) : void
w System.IO.TextWriter
ex object
return void

WriteIndented() public static method

public static WriteIndented ( TextWriter w, string s ) : void
w System.IO.TextWriter
s string
return void

WriteLineException() public static method

public static WriteLineException ( TextWriter w, object ex ) : void
w System.IO.TextWriter
ex object
return void

WriteLineIndented() public static method

public static WriteLineIndented ( TextWriter w, string s ) : void
w System.IO.TextWriter
s string
return void

WriteLineObject() public method

public WriteLineObject ( object o ) : void
o object
return void

WriteLineProperties() public static method

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

WriteLineProperty() public static method

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

WriteObject() public static method

public static WriteObject ( TextWriter w, object o ) : void
w System.IO.TextWriter
o object
return void

WriteObjectToString() public method

public WriteObjectToString ( object o, bool isInline ) : void
o object
isInline bool
return void

WriteProperty() public static method

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

WriteProperty() public method

public WriteProperty ( string name, object o ) : void
name string
o object
return void