C# Class ExoWeb.Templates.Page

Mostrar archivo Open project: vc3/ExoWeb Class Usage Examples

Private Properties

Property Type Description
BeginContextInternal Context
FirstApplicableStep ExoModel.ModelStep

Public Methods

Method Description
BeginContext ( object dataItem, object>.IEnumerable variables ) : Context

Begins a new template context as a child of the current context.

BeginContext ( object dataItem, int index, object>.IEnumerable variables ) : Context

Begins a new template context as a child of the current context.

EndContext ( ) : void

Ends the current template context.

EvaluatePath ( string path ) : BindingResult

Gets the result of evaluating the specified path in the current data context.

LoadTemplates ( string path ) : IEnumerable
Page ( ) : System
Parse ( string source, string template ) : ITemplate
ParseTemplates ( string source, string template ) : IEnumerable

Private Methods

Method Description
BeginContextInternal ( object dataItem, int index, object>.IEnumerable variables ) : Context

Begins a new template context as a child of the current context.

FirstApplicableStep ( ModelInstance instance, ModelStepList steps ) : ModelStep

Method Details

BeginContext() public method

Begins a new template context as a child of the current context.
public BeginContext ( object dataItem, object>.IEnumerable variables ) : Context
dataItem object
variables object>.IEnumerable
return Context

BeginContext() public method

Begins a new template context as a child of the current context.
public BeginContext ( object dataItem, int index, object>.IEnumerable variables ) : Context
dataItem object
index int
variables object>.IEnumerable
return Context

EndContext() public method

Ends the current template context.
public EndContext ( ) : void
return void

EvaluatePath() public method

Gets the result of evaluating the specified path in the current data context.
public EvaluatePath ( string path ) : BindingResult
path string
return BindingResult

LoadTemplates() public abstract method

public abstract LoadTemplates ( string path ) : IEnumerable
path string
return IEnumerable

Page() public method

public Page ( ) : System
return System

Parse() public abstract method

public abstract Parse ( string source, string template ) : ITemplate
source string
template string
return ITemplate

ParseTemplates() public abstract method

public abstract ParseTemplates ( string source, string template ) : IEnumerable
source string
template string
return IEnumerable