C# Класс ExoWeb.Templates.Page

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
BeginContextInternal Context
FirstApplicableStep ExoModel.ModelStep

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

BeginContext() публичный Метод

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
Результат Context

BeginContext() публичный Метод

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
Результат Context

EndContext() публичный Метод

Ends the current template context.
public EndContext ( ) : void
Результат void

EvaluatePath() публичный Метод

Gets the result of evaluating the specified path in the current data context.
public EvaluatePath ( string path ) : BindingResult
path string
Результат BindingResult

LoadTemplates() публичный абстрактный Метод

public abstract LoadTemplates ( string path ) : IEnumerable
path string
Результат IEnumerable

Page() публичный Метод

public Page ( ) : System
Результат System

Parse() публичный абстрактный Метод

public abstract Parse ( string source, string template ) : ITemplate
source string
template string
Результат ITemplate

ParseTemplates() публичный абстрактный Метод

public abstract ParseTemplates ( string source, string template ) : IEnumerable
source string
template string
Результат IEnumerable