view Implab.ServiceHost/Unity/IncludeElement.cs @ 270:ade80d94dfb5 v3

Working on Unity container xml configuration
author cin
date Wed, 25 Apr 2018 04:44:40 +0300
parents ff581cff7003
children 79110a16cab7
line wrap: on
line source

using System.Xml.Serialization;

namespace Implab.ServiceHost.Unity {
    [XmlRoot("include", Namespace = Schema.ContainerConfigurationNamespace)]
    public class IncludeElement : IConfigurationElement {
        [XmlAttribute("href")]
        public string Href { get; set; }

        public void Visit(ConfigurationContext context) {
            context.Visit(this);
        }
    }
}