using System.Collections.Generic; namespace Umbraco.Core.Models { /// /// Represents a template in a template tree /// public class TemplateNode { public TemplateNode(ITemplate template) { Template = template; Children = new List(); } /// /// The current template /// public ITemplate Template { get; set; } /// /// The children of the current template /// public IEnumerable Children { get; set; } /// /// The parent template to the current template /// /// /// Will be null if there is no parent /// public TemplateNode Parent { get; set; } } }