C# Class IVO.CMS.Providers.RenderState

Mostrar archivo Open project: JamesDunne/ivo-cms Class Usage Examples

Public Methods

Method Description
CommitWriter ( ) : void

Pops the last Writer off the stack and uses the current Writer.

CopyElementChildren ( string elementName, bool>.Func earlyExit = null, Func processElements = null ) : Task
DefaultEarlyExit ( RenderState st ) : bool
DefaultProcessElements ( RenderState st ) : Task>
Error ( string message ) : void
ErrorSuppressComment ( string message ) : void
ProcessCMSInstruction ( string elementName, RenderState state ) : Task
PushWriter ( ) : void

Pushes off the current Writer to the stack and creates a new Writer based on the current Writer.

Render ( ) : Task>
RenderState ( ContentEngine engine, IVO.Definition.Models.TreePathStreamedBlob item, XmlTextReader readFrom = null, StringBuilder writeTo = null, bool>.Func earlyExit = null, Func processElements = null, RenderState previous = null ) : System
RenderState ( RenderState copy, IVO.Definition.Models.TreePathStreamedBlob item = null ) : System
RollbackWriter ( ) : void

Rolls back the current Writer to the last saved one.

SkipElementAndChildren ( string elementName ) : void
StreamContent ( bool>.Func earlyExit = null, Func processElements = null ) : Task

Streaming copy from XmlTextReader and writing out to StringBuilder with event hooks for custom processing.

Warning ( string message ) : void
WarningSuppressComment ( string message ) : void

Method Details

CommitWriter() public method

Pops the last Writer off the stack and uses the current Writer.
public CommitWriter ( ) : void
return void

CopyElementChildren() public method

public CopyElementChildren ( string elementName, bool>.Func earlyExit = null, Func processElements = null ) : Task
elementName string
earlyExit bool>.Func
processElements Func
return Task

DefaultEarlyExit() public static method

public static DefaultEarlyExit ( RenderState st ) : bool
st RenderState
return bool

DefaultProcessElements() public static method

public static DefaultProcessElements ( RenderState st ) : Task>
st RenderState
return Task>

Error() public method

public Error ( string message ) : void
message string
return void

ErrorSuppressComment() public method

public ErrorSuppressComment ( string message ) : void
message string
return void

ProcessCMSInstruction() public static method

public static ProcessCMSInstruction ( string elementName, RenderState state ) : Task
elementName string
state RenderState
return Task

PushWriter() public method

Pushes off the current Writer to the stack and creates a new Writer based on the current Writer.
public PushWriter ( ) : void
return void

Render() public method

public Render ( ) : Task>
return Task>

RenderState() public method

public RenderState ( ContentEngine engine, IVO.Definition.Models.TreePathStreamedBlob item, XmlTextReader readFrom = null, StringBuilder writeTo = null, bool>.Func earlyExit = null, Func processElements = null, RenderState previous = null ) : System
engine ContentEngine
item IVO.Definition.Models.TreePathStreamedBlob
readFrom System.Xml.XmlTextReader
writeTo StringBuilder
earlyExit bool>.Func
processElements Func
previous RenderState
return System

RenderState() public method

public RenderState ( RenderState copy, IVO.Definition.Models.TreePathStreamedBlob item = null ) : System
copy RenderState
item IVO.Definition.Models.TreePathStreamedBlob
return System

RollbackWriter() public method

Rolls back the current Writer to the last saved one.
public RollbackWriter ( ) : void
return void

SkipElementAndChildren() public method

public SkipElementAndChildren ( string elementName ) : void
elementName string
return void

StreamContent() public method

Streaming copy from XmlTextReader and writing out to StringBuilder with event hooks for custom processing.
public StreamContent ( bool>.Func earlyExit = null, Func processElements = null ) : Task
earlyExit bool>.Func
processElements Func
return Task

Warning() public method

public Warning ( string message ) : void
message string
return void

WarningSuppressComment() public method

public WarningSuppressComment ( string message ) : void
message string
return void