comparison Implab.ServiceHost/Unity/NamespaceElement.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 { 4 {
5 [XmlRoot("namespace", Namespace = Schema.ContainerConfigurationNamespace)] 5 [XmlRoot("namespace", Namespace = Schema.ContainerConfigurationNamespace)]
6 public class NamespaceElement : IConfigurationElement { 6 public class NamespaceElement : ContainerItemElement {
7 7
8 [XmlAttribute("name")] 8 [XmlAttribute("name")]
9 public string Name { get; set; } 9 public string Name { get; set; }
10 10
11 public void Visit(ConfigurationContext context) { 11 public override void Visit(ContainerContext context) {
12 context.Visit(this); 12 context.Visit(this);
13 } 13 }
14 } 14 }
15 } 15 }