Mercurial > pub > ImplabNet
view Implab.ServiceHost/Unity/AssemblyElement.cs @ 281:e0916ddc9950 v3 tip
code cleanup and refactoring
author | cin |
---|---|
date | Fri, 01 Jun 2018 21:35:24 +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); } } }