annotate Implab.ServiceHost/Unity/NamespaceElement.cs @ 275:6fefd5811b9b v3

refactoring
author cin
date Fri, 27 Apr 2018 16:57:30 +0300
parents 22629bf26121
children 963b17c275be
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
1 using System.Xml.Serialization;
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
2
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
3 namespace Implab.ServiceHost.Unity
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
4 {
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
5 [XmlRoot("namespace", Namespace = Schema.ContainerConfigurationNamespace)]
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 270
diff changeset
6 public class NamespaceElement : ContainerItemElement {
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
7
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
8 [XmlAttribute("name")]
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
9 public string Name { get; set; }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
10
274
22629bf26121 Unity xml configuration, alpha2
cin
parents: 273
diff changeset
11 public override void Visit(ContainerBuilder context) {
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents: 269
diff changeset
12 context.Visit(this);
269
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
13 }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
14 }
ff581cff7003 Working on Unity container xml configuration
cin
parents:
diff changeset
15 }