public Layout(string name, Template template) { Require.NotNullOrEmpty(name, "name"); Require.NotNull(template, "template"); this.Name = name; this.Template = template; Configure(); }
public TemplateSkin(string name, Template template, string displayName) : base(name, UrlUtil.Combine(template.SkinFolderVirtualPath, name), displayName) { Template = template; }
public TemplateSkin(string name, Template template) : this(name, template, String.Format("{{ Template={1}, Key={2} }}", template.Name, template.Name, name)) { }