comparison Implab.ServiceHost/Unity/IncludeElement.cs @ 273:79110a16cab7 v3

Working on Unity xml configuration: Refactoring in progress
author cin
date Thu, 26 Apr 2018 19:35:01 +0300
parents ade80d94dfb5
children 22629bf26121
comparison
equal deleted inserted replaced
272:9d1cca834b05 273:79110a16cab7
1 using System.Xml.Serialization; 1 using System.Xml.Serialization;
2 2
3 namespace Implab.ServiceHost.Unity { 3 namespace Implab.ServiceHost.Unity {
4 [XmlRoot("include", Namespace = Schema.ContainerConfigurationNamespace)] 4 [XmlRoot("include", Namespace = Schema.ContainerConfigurationNamespace)]
5 public class IncludeElement : IConfigurationElement { 5 public class IncludeElement : ContainerItemElement {
6 [XmlAttribute("href")] 6 [XmlAttribute("href")]
7 public string Href { get; set; } 7 public string Href { get; set; }
8 8
9 public void Visit(ConfigurationContext context) { 9 public override void Visit(ContainerContext context) {
10 context.Visit(this); 10 context.Visit(this);
11 } 11 }
12 } 12 }
13 } 13 }