view Implab.ServiceHost/Unity/AssemblyElement.cs @ 271:d4d437ec4483 v3

Working on Unity xml configuration
author cin
date Wed, 25 Apr 2018 19:23:35 +0300
parents ade80d94dfb5
children 79110a16cab7
line wrap: on
line source

using System.Xml.Serialization;

namespace Implab.ServiceHost.Unity
{
    [XmlRoot("assembly", Namespace = Schema.ContainerConfigurationNamespace)]
    public class AssemblyElement : IConfigurationElement {
        [XmlAttribute("name")]
        public string AssemblyName { get; set; }
        
        public void Visit(ConfigurationContext context) {
            context.Visit(this);
        }
    }
}