annotate Implab.ServiceHost/Unity/NamespaceElement.cs @ 270:ade80d94dfb5
v3
Working on Unity container xml configuration
author |
cin |
date |
Wed, 25 Apr 2018 04:44:40 +0300 |
parents |
ff581cff7003 |
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 } |