public static Element Create(IBaseUIComponent component, PropCollection props = null) { return(new Element(component, props)); }
public static Element Create(IBaseUIComponent component, PropCollection props = null) { var id = "root"; return(new Element(id, component, props)); }
private Element(IBaseUIComponent component, PropCollection props = null) { this.Component = component; this.Props = props; }
private Element(string id, IBaseUIComponent component, PropCollection props = null) { this.Component = component; this.Props = props; this.Id = id; }