public ComponentRef(ComponentGroup parent, Component component) : base(parent.Element, "ComponentRef", component.Id) { this.component = component; }