Mercurial > pub > ImplabNet
view Implab.ServiceHost/Unity/NamespaceElement.cs @ 279:8714471e8d78 v3
Container configuration cleanup, RC2
author | cin |
---|---|
date | Fri, 04 May 2018 18:12:42 +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); } } }