annotate Implab.ServiceHost/Unity/NamespaceElement.cs @ 277:963b17c275be v3

Refactoring Added <array> element to injection parameters Working on registrations of factories
author cin
date Sat, 28 Apr 2018 18:48:09 +0300
parents 22629bf26121
children 6691aff01de1
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)]
277
963b17c275be Refactoring
cin
parents: 274
diff changeset
6 public class NamespaceElement : AbstractContainerItem {
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 }