/// <summary> /// Creates a new <see cref="ofFragment"/>. /// </summary> public ofFragment(ElementKey key = default, IEnumerable <ofElement> children = default) : base(key) { Children = children == null ? new List <ofElement>() : new List <ofElement>(children); }
/// <summary> /// Creates a new <see cref="ofComponent"/>. /// </summary> protected ofComponent(ElementKey key = default) : base(key) { }
/// <summary> /// Creates a new <see cref="ofContext{TContext}"/>. /// </summary> public ofContext(ElementKey key = default, IEnumerable <ofElement> children = default, TContext value = default) : base(key, children) { Value = value; }