using System; using System.Xml.Serialization; using Unity.Lifetime; using Unity.Registration; namespace Implab.ServiceHost.Unity { public abstract class AbstractRegistration : IConfigurationElement { /// /// An optional name for a registration in the container /// [XmlAttribute("name")] public string Name { get; set; } public void Visit(ConfigurationContext context) { context.Visist(this); } } }