C# Class newtelligence.DasBlog.Runtime.Html.Formatting.FormattedTextWriter

Inheritance: System.IO.TextWriter
显示文件 Open project: AArnott/dasblog Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
FormattedTextWriter ( TextWriter writer, string indentString ) : System
HasBackWhiteSpace ( string s ) : bool
HasFrontWhiteSpace ( string s ) : bool
IsWhiteSpace ( string s ) : bool
Trim ( string text, bool frontWhiteSpace ) : string
Write ( bool value ) : void
Write ( char value ) : void
Write ( char buffer, int index, int count ) : void
Write ( double value ) : void
Write ( float value ) : void
Write ( int value ) : void
Write ( long value ) : void
Write ( object value ) : void
Write ( string s ) : void
Write ( string format, object arg0 ) : void
Write ( string format, object arg0, object arg1 ) : void
WriteLine ( ) : void
WriteLine ( bool value ) : void
WriteLine ( char value ) : void
WriteLine ( char buffer, int index, int count ) : void
WriteLine ( double value ) : void
WriteLine ( float value ) : void
WriteLine ( int value ) : void
WriteLine ( long value ) : void
WriteLine ( object value ) : void
WriteLine ( string s ) : void
WriteLine ( string format, object arg0 ) : void
WriteLine ( string format, object arg0, object arg1 ) : void
WriteLineIfNotOnNewLine ( ) : void
WriteLiteral ( string s ) : void
WriteLiteralWrapped ( string s, int maxLength ) : void

Private Methods

Method Description
MakeSingleLine ( string s ) : string

Converts the string into a single line seperated by single spaces

OutputIndent ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

FormattedTextWriter() public method

public FormattedTextWriter ( TextWriter writer, string indentString ) : System
writer System.IO.TextWriter
indentString string
return System

HasBackWhiteSpace() public static method

public static HasBackWhiteSpace ( string s ) : bool
s string
return bool

HasFrontWhiteSpace() public static method

public static HasFrontWhiteSpace ( string s ) : bool
s string
return bool

IsWhiteSpace() public static method

public static IsWhiteSpace ( string s ) : bool
s string
return bool

Trim() public static method

public static Trim ( string text, bool frontWhiteSpace ) : string
text string
frontWhiteSpace bool
return string

Write() public method

public Write ( bool value ) : void
value bool
return void

Write() public method

public Write ( char value ) : void
value char
return void

Write() public method

public Write ( char buffer, int index, int count ) : void
buffer char
index int
count int
return void

Write() public method

public Write ( double value ) : void
value double
return void

Write() public method

public Write ( float value ) : void
value float
return void

Write() public method

public Write ( int value ) : void
value int
return void

Write() public method

public Write ( long value ) : void
value long
return void

Write() public method

public Write ( object value ) : void
value object
return void

Write() public method

public Write ( string s ) : void
s string
return void

Write() public method

public Write ( string format, object arg0 ) : void
format string
arg0 object
return void

Write() public method

public Write ( string format, object arg0, object arg1 ) : void
format string
arg0 object
arg1 object
return void

WriteLine() public method

public WriteLine ( ) : void
return void

WriteLine() public method

public WriteLine ( bool value ) : void
value bool
return void

WriteLine() public method

public WriteLine ( char value ) : void
value char
return void

WriteLine() public method

public WriteLine ( char buffer, int index, int count ) : void
buffer char
index int
count int
return void

WriteLine() public method

public WriteLine ( double value ) : void
value double
return void

WriteLine() public method

public WriteLine ( float value ) : void
value float
return void

WriteLine() public method

public WriteLine ( int value ) : void
value int
return void

WriteLine() public method

public WriteLine ( long value ) : void
value long
return void

WriteLine() public method

public WriteLine ( object value ) : void
value object
return void

WriteLine() public method

public WriteLine ( string s ) : void
s string
return void

WriteLine() public method

public WriteLine ( string format, object arg0 ) : void
format string
arg0 object
return void

WriteLine() public method

public WriteLine ( string format, object arg0, object arg1 ) : void
format string
arg0 object
arg1 object
return void

WriteLineIfNotOnNewLine() public method

public WriteLineIfNotOnNewLine ( ) : void
return void

WriteLiteral() public method

public WriteLiteral ( string s ) : void
s string
return void

WriteLiteralWrapped() public method

public WriteLiteralWrapped ( string s, int maxLength ) : void
s string
maxLength int
return void