C# Класс Phun.Templating.TemplateHandler

Template handler.
Наследование: ITemplateHandler
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
Utility Phun.Routing.ResourcePathUtility

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

Метод Описание
CanRender ( Data model ) : bool

Determines whether this instance can render the specified model.

Render ( Data model, IContentConnector connector, System.Web.HttpContextBase httpContext ) : void

Executes the specified model.

TemplateHandler ( ) : System

Initializes a new instance of the TemplateHandler class.

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

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

Determines whether this instance can render the specified model.
public CanRender ( Data model ) : bool
model Data The model.
Результат bool

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

Executes the specified model.
public Render ( Data model, IContentConnector connector, System.Web.HttpContextBase httpContext ) : void
model Data The model.
connector IContentConnector The connector.
httpContext System.Web.HttpContextBase The HTTP context.
Результат void

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

Initializes a new instance of the TemplateHandler class.
public TemplateHandler ( ) : System
Результат System

Описание свойств

Utility защищенное свойство

The utility
protected ResourcePathUtility,Phun.Routing Utility
Результат Phun.Routing.ResourcePathUtility