Mercurial > pub > ImplabNet
view Implab.ServiceHost/Unity/AssemblyElement.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("assembly", Namespace = Schema.ContainerConfigurationNamespace)] public class AssemblyElement : AbstractContainerItem { [XmlAttribute("name")] public string AssemblyName { get; set; } public override void Visit(ContainerBuilder builder) { builder.AddAssembly(AssemblyName); } } }