annotate Implab.ServiceHost/Unity/NamespaceElement.cs @ 271:d4d437ec4483
v3
Working on Unity xml configuration
author |
cin |
date |
Wed, 25 Apr 2018 19:23:35 +0300 |
parents |
ade80d94dfb5 |
children |
79110a16cab7 |
rev |
line source |
269
|
1 using System.Xml.Serialization;
|
|
2
|
|
3 namespace Implab.ServiceHost.Unity
|
|
4 {
|
|
5 [XmlRoot("namespace", Namespace = Schema.ContainerConfigurationNamespace)]
|
|
6 public class NamespaceElement : IConfigurationElement {
|
|
7
|
|
8 [XmlAttribute("name")]
|
|
9 public string Name { get; set; }
|
|
10
|
|
11 public void Visit(ConfigurationContext context) {
|
270
|
12 context.Visit(this);
|
269
|
13 }
|
|
14 }
|
|
15 } |