view Implab.ServiceHost/Unity/NamespaceElement.cs @ 270:ade80d94dfb5 v3

Working on Unity container xml configuration
author cin
date Wed, 25 Apr 2018 04:44:40 +0300
parents ff581cff7003
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);
        }
    }
}