Ejemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 protected WebComponent()
 {
     VerifyTypeThrow(TagName, GetType());
     _shadow = new Shadow(this);
 }
Ejemplo n.º 2
0
 /// <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);
 }