public CustomTagTemplate(string tag, string markup, OffsetItem thisOffset, RootElementMaster master) : this(tag) { this.MyRootMaster = master; MyOffset = thisOffset; LoadTag(markup); }
public CustomTag CreateTagInstance(string tag, string markup, RootElementMaster rootMaster) { if (string.IsNullOrEmpty(tag)) { throw new ArgumentNullException("Must specify tag"); } if (!CustomTags.ContainsKey(tag)) { return(null); } CustomTagTemplate template = CustomTags[tag]; if (template != null) { if (template.MyRootMaster != rootMaster) { template.MyRootMaster = rootMaster; template.Parse(); } else { if (!template.IsParsed || template.Controls.Count == 0) { template.Parse(); } } } return(new CustomTag(tag, CustomTags[tag], markup)); }
public CustomTagTemplate(string tag, string markup, RootElementMaster master) : this(tag) { this.MyRootMaster = master; LoadTag(markup); }
public GadgetErrors(RootElementMaster parent) { Parent = parent; }
public CustomTagFactory(RootElementMaster rootMaster) : this() { _myRootMaster = rootMaster; }