view Implab.ServiceHost/Unity/NamespaceElement.cs @ 280:f07be402ab02 v3

Added Trace<T>.Debug(...) method for debug messages Added ContainerBuilde.LoadConfig(Uri) method
author cin
date Fri, 25 May 2018 19:15:26 +0300
parents 6691aff01de1
children
line wrap: on
line source

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);
        }
    }
}