C# Class CSharpUtils.Templates.ParserNodes.ParserNodeContext

Datei anzeigen Open project: soywiz/csharputils Class Usage Examples

Protected Properties

Property Type Description
IndentationLevel int
ShouldWriteIndentation bool
TemplateFactory TemplateFactory
TextWriter System.IO.TextWriter

Public Methods

Method Description
Indent ( System.Action Action ) : void
ParserNodeContext ( TextWriter TextWriter, TemplateFactory TemplateFactory ) : System
Write ( String Text ) : void
WriteLine ( String Text ) : void

Protected Methods

Method Description
_TryWriteIndentation ( ) : void

Private Methods

Method Description
_GetContextWriteAutoFilteredMethod ( ) : string
_GetContextWriteMethod ( ) : String

Method Details

Indent() public method

public Indent ( System.Action Action ) : void
Action System.Action
return void

ParserNodeContext() public method

public ParserNodeContext ( TextWriter TextWriter, TemplateFactory TemplateFactory ) : System
TextWriter System.IO.TextWriter
TemplateFactory TemplateFactory
return System

Write() public method

public Write ( String Text ) : void
Text String
return void

WriteLine() public method

public WriteLine ( String Text ) : void
Text String
return void

_TryWriteIndentation() protected method

protected _TryWriteIndentation ( ) : void
return void

Property Details

IndentationLevel protected_oe property

protected int IndentationLevel
return int

ShouldWriteIndentation protected_oe property

protected bool ShouldWriteIndentation
return bool

TemplateFactory protected_oe property

protected TemplateFactory TemplateFactory
return TemplateFactory

TextWriter protected_oe property

protected TextWriter,System.IO TextWriter
return System.IO.TextWriter