view Implab.ServiceHost/Unity/IncludeElement.cs @ 279:8714471e8d78 v3

Container configuration cleanup, RC2
author cin
date Fri, 04 May 2018 18:12:42 +0300
parents 6691aff01de1
children
line wrap: on
line source

using System.Xml.Serialization;

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

        public override void Visit(ContainerBuilder builder) {
            builder.Include(Href);
        }
    }
}