view Implab.ServiceHost/Unity/NamespaceElement.cs @ 271:d4d437ec4483 v3

Working on Unity xml configuration
author cin
date Wed, 25 Apr 2018 19:23:35 +0300
parents ade80d94dfb5
children 79110a16cab7
line wrap: on
line source

using System.Xml.Serialization;

namespace Implab.ServiceHost.Unity
{
    [XmlRoot("namespace", Namespace = Schema.ContainerConfigurationNamespace)]
    public class NamespaceElement : IConfigurationElement {

        [XmlAttribute("name")]
        public string Name { get; set; }

        public void Visit(ConfigurationContext context) {
            context.Visit(this);
        }
    }
}