public Tag(Element element, IReadOnlyCollection<ITag> inners) { if (element == null) throw new ArgumentNullException("element"); if (inners == null) throw new ArgumentNullException("inners"); Element = element; Inners = inners; }
public Tag(Element element) : this(element, new ITag[0]) { }