C# Класс Felinesoft.UmbracoCodeFirst.Core.Modules.TemplateModule

Наследование: ITemplateModule
Показать файл Открыть проект

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

Метод Описание
Initialise ( IEnumerable classes ) : void
RegisterTemplates ( Type docType ) : void

Registers the specified templates for the given doctype. Creates a basic default cshtml file if none exists at the specified path.

TemplateModule ( IDocumentTypeModule documentTypeModule, IFileService fileService, IContentTypeService contentTypeService ) : System

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

Метод Описание
ConfigureTemplate ( Type docType, ITemplate &defaultTemplate, TemplateAttribute attribute ) : ITemplate
CreateTemplate ( TemplateAttribute attribute ) : ITemplate

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

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

public Initialise ( IEnumerable classes ) : void
classes IEnumerable
Результат void

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

Registers the specified templates for the given doctype. Creates a basic default cshtml file if none exists at the specified path.
public RegisterTemplates ( Type docType ) : void
docType System.Type
Результат void

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

public TemplateModule ( IDocumentTypeModule documentTypeModule, IFileService fileService, IContentTypeService contentTypeService ) : System
documentTypeModule IDocumentTypeModule
fileService IFileService
contentTypeService IContentTypeService
Результат System