C# Class Felinesoft.UmbracoCodeFirst.Core.Modules.TemplateModule

Inheritance: ITemplateModule
Afficher le fichier Open project: DanMannMann/UmbracoCodeFirst

Méthodes publiques

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

Private Methods

Méthode Description
ConfigureTemplate ( Type docType, ITemplate &defaultTemplate, TemplateAttribute attribute ) : ITemplate
CreateTemplate ( TemplateAttribute attribute ) : ITemplate

Method Details

Initialise() public méthode

public Initialise ( IEnumerable classes ) : void
classes IEnumerable
Résultat void

RegisterTemplates() public méthode

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

TemplateModule() public méthode

public TemplateModule ( IDocumentTypeModule documentTypeModule, IFileService fileService, IContentTypeService contentTypeService ) : System
documentTypeModule IDocumentTypeModule
fileService IFileService
contentTypeService IContentTypeService
Résultat System