C# Class IVO.CMS.Providers.RenderState

Afficher le fichier Open project: JamesDunne/ivo-cms Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

CopyElementChildren() public méthode

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

DefaultEarlyExit() public static méthode

public static DefaultEarlyExit ( RenderState st ) : bool
st RenderState
Résultat bool

DefaultProcessElements() public static méthode

public static DefaultProcessElements ( RenderState st ) : Task>
st RenderState
Résultat Task>

Error() public méthode

public Error ( string message ) : void
message string
Résultat void

ErrorSuppressComment() public méthode

public ErrorSuppressComment ( string message ) : void
message string
Résultat void

ProcessCMSInstruction() public static méthode

public static ProcessCMSInstruction ( string elementName, RenderState state ) : Task
elementName string
state RenderState
Résultat Task

PushWriter() public méthode

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

Render() public méthode

public Render ( ) : Task>
Résultat Task>

RenderState() public méthode

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
Résultat System

RenderState() public méthode

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

RollbackWriter() public méthode

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

SkipElementAndChildren() public méthode

public SkipElementAndChildren ( string elementName ) : void
elementName string
Résultat void

StreamContent() public méthode

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
Résultat Task

Warning() public méthode

public Warning ( string message ) : void
message string
Résultat void

WarningSuppressComment() public méthode

public WarningSuppressComment ( string message ) : void
message string
Résultat void