using System.Xml.Serialization; namespace Implab.ServiceHost.Unity { [XmlRoot("namespace", Namespace = Schema.ContainerConfigurationNamespace)] public class NamespaceElement : AbstractContainerItem { [XmlAttribute("name")] public string Name { get; set; } public override void Visit(ContainerBuilder builder) { builder.AddNamespace(Name); } } }