view Implab.ServiceHost/Unity/IncludeElement.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("include", Namespace = Schema.ContainerConfigurationNamespace)]
    public class IncludeElement : IConfigurationElement {
        [XmlAttribute("href")]
        public string Href { get; set; }

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