A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Models.Template.html below:

View Source Class Template

Represents a Template file.

Inheritance

System.Object

Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntax
[DataContract(IsReference = true)]
public class Template : File, ITemplate, IFile, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors View Source Template(IShortStringHelper, String, String) Declaration
public Template(IShortStringHelper shortStringHelper, string name, string alias)
Parameters Type Name Description IShortStringHelper shortStringHelper System.String name System.String alias View Source Template(IShortStringHelper, String, String, Nullable<Func<File, String>>) Declaration
public Template(IShortStringHelper shortStringHelper, string name, string alias, Func<File, string>? getFileContent)
Parameters Type Name Description IShortStringHelper shortStringHelper System.String name System.String alias System.Nullable<Func<File, System.String>> getFileContent Properties View Source Alias Declaration
[DataMember]
public string Alias { get; set; }
Property Value Type Description System.String View Source IsMasterTemplate

Returns true if the template is used as a layout for other templates (i.e. it has 'children')

Declaration
public bool IsMasterTemplate { get; set; }
Property Value Type Description System.Boolean View Source MasterTemplateAlias Declaration
public string MasterTemplateAlias { get; set; }
Property Value Type Description System.String View Source MasterTemplateId Declaration
[DataMember]
public Lazy<int>? MasterTemplateId { get; set; }
Property Value Type Description System.Nullable<Lazy<System.Int32>> View Source Name Declaration
[DataMember]
public string Name { get; set; }
Property Value Type Description System.String Methods View Source DeepCloneNameAndAlias(File) Declaration
protected override void DeepCloneNameAndAlias(File clone)
Parameters Type Name Description File clone View Source SetMasterTemplate(ITemplate) Declaration
public void SetMasterTemplate(ITemplate masterTemplate)
Parameters Type Name Description ITemplate masterTemplate

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4