public void AppendComponentInstanceNode(string instanceName, CoreTestComponent testComponentInstance) { _currentComponentInstance = new XElement("Component", new XAttribute("name", instanceName), new XAttribute("type", testComponentInstance.GetType())); _components.Add(_currentComponentInstance); }