public void AddComponent(string name, string value) { CGComponent component = new CGComponent(name); component.SetData(value); AddComponent(component); }
public void AddComponent(CGComponent component) { Components.Add(component); }