/// <summary> /// Constructor /// </summary> protected WebComponent() { VerifyTypeThrow(TagName, GetType()); _shadow = new Shadow(this); }
/// <summary> /// Constructor /// </summary> /// <param name="tagName">Component's custom tag name</param> protected WebComponent(string tagName) : base(tagName ?? throw new ArgumentNullException(nameof(tagName))) { VerifyTypeThrow(tagName, GetType()); _shadow = new Shadow(this); }