/// <summary> /// Constructor for a Jewel /// </summary> /// <param name="dataUrlBase">The XML data URL</param> /// <param name="version">The version of the XML data</param> /// <param name="lcid">The language code</param> /// <param name="options">The JewelBuildOptions for this Jewel. <see cref="JewelBuildOptions"/></param> /// <param name="elmPlaceholder">The ID for the DOMElement that will enclose this Jewel</param> /// <param name="rootBuildClient">The object using this builder</param> public JewelBuilder(JewelBuildOptions options, HtmlElement elmPlaceholder, IRootBuildClient rootBuildClient) : base(options, elmPlaceholder, rootBuildClient) { if (CUIUtility.IsNullOrUndefined(elmPlaceholder)) throw new ArgumentNullException("Jewel placeholder DOM element is null or undefined."); }
public virtual void Dispose() { _root = null; _bo = null; _elmPlaceholder = null; _rootBuildClient = null; _data = null; Browser.Window.Unload -= OnPageUnload; }
public RibbonBuilder(RibbonBuildOptions options, HtmlElement elmPlaceholder, IRootBuildClient rootBuildClient) : base(options, elmPlaceholder, rootBuildClient) { if (CUIUtility.IsNullOrUndefined(elmPlaceholder)) { throw new ArgumentNullException("Ribbon placeholder DOM element is null or undefined."); } }
public Builder(BuildOptions options, HtmlElement elmPlaceholder, IRootBuildClient rootBuildClient) { _bo = options; if (CUIUtility.IsNullOrUndefined(_bo.TrimmedIds)) { _bo.TrimmedIds = new Dictionary <string, bool>(); } _elmPlaceholder = elmPlaceholder; _rootBuildClient = rootBuildClient; Browser.Window.Unload += OnPageUnload; }