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