Represents a Template file that can have its content on disk.
InheritanceSystem.Object
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntax[DataContract(IsReference = true)]
public class TemplateOnDisk : Template, ITemplate, IFile, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors View Source TemplateOnDisk(IShortStringHelper, String, String)
Initializes a new instance of the TemplateOnDisk class.
Declarationpublic TemplateOnDisk(IShortStringHelper shortStringHelper, string name, string alias)
Parameters Type Name Description IShortStringHelper shortStringHelper
The short string helper
System.String nameThe name of the template.
System.String aliasThe alias of the template.
Properties View Source ContentGets or sets the content.
Declarationpublic override string Content { get; set; }
Property Value Type Description System.String View Source IsOnDisk
Gets or sets a value indicating whether the content is on disk already.
Declarationpublic bool IsOnDisk { get; set; }
Property Value Type Description System.Boolean
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