C# 클래스 CoreTechs.Logging.IndentedTextWriter

상속: System.CodeDom.Compiler.IndentedTextWriter
파일 보기 프로젝트 열기: Core-Techs/Logging

공개 메소드들

메소드 설명
IndentedTextWriter ( ) : System

Initializes a new instance of the class using a new string writer and the default tab string.

IndentedTextWriter ( TextWriter writer ) : System

Initializes a new instance of the class using the specified text writer and default tab string.

ToString ( ) : string

Returns the inner writer's ToString(), which in the case of a StringWriter is the buffer itself.

비공개 메소드들

메소드 설명
FixIndentedTextWriterBug ( ) : void

The System.CodeDom.Compiler.IndentedTextWriter class has a bug in its constructor that sets the private field tabsPending to false instead of true, which prevents the first line written from being indented. This function fixes that bug via reflection.

IndentedTextWriter ( TextWriter writer, string tabString ) : System
IndentedTextWriter ( string tabString ) : System
WriteLines ( [ format ) : void

메소드 상세

IndentedTextWriter() 공개 메소드

Initializes a new instance of the class using a new string writer and the default tab string.
public IndentedTextWriter ( ) : System
리턴 System

IndentedTextWriter() 공개 메소드

Initializes a new instance of the class using the specified text writer and default tab string.
public IndentedTextWriter ( TextWriter writer ) : System
writer System.IO.TextWriter The to use for output.
리턴 System

ToString() 공개 메소드

Returns the inner writer's ToString(), which in the case of a StringWriter is the buffer itself.
public ToString ( ) : string
리턴 string