View Source
Interface ITemplateRepository
Assembly: Umbraco.Core.dll
Syntax
public interface ITemplateRepository : IReadWriteQueryRepository<int, ITemplate>, IReadRepository<int, ITemplate>, IWriteRepository<ITemplate>, IQueryRepository<ITemplate>, IRepository, IFileRepository
Methods
View Source
Get(String)
Declaration
ITemplate Get(string alias)
Parameters
Type |
Name |
Description |
System.String |
alias |
|
Returns
View Source
GetAll(String[])
Declaration
IEnumerable<ITemplate> GetAll(params string[] aliases)
Parameters
Type |
Name |
Description |
System.String[] |
aliases |
|
Returns
View Source
GetChildren(Int32)
Declaration
IEnumerable<ITemplate> GetChildren(int masterTemplateId)
Parameters
Type |
Name |
Description |
System.Int32 |
masterTemplateId |
|
Returns
View Source
GetDescendants(Int32)
Declaration
IEnumerable<ITemplate> GetDescendants(int masterTemplateId)
Parameters
Type |
Name |
Description |
System.Int32 |
masterTemplateId |
|
Returns