annotate Implab.ServiceHost/Unity/ContainerElement.cs @ 274:22629bf26121 v3

Unity xml configuration, alpha2
author cin
date Fri, 27 Apr 2018 04:47:52 +0300
parents 79110a16cab7
children 963b17c275be
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
1 using Implab.Xml;
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
2 using System.Collections.Generic;
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
3 using System.Xml;
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
4 using System.Xml.Schema;
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
5 using System.Xml.Serialization;
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
6
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
7 namespace Implab.ServiceHost.Unity {
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
8 [XmlRoot("container", Namespace = Schema.ContainerConfigurationNamespace)]
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 271
diff changeset
9 public class ContainerElement : ContainerItemElement {
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
10
274
22629bf26121 Unity xml configuration, alpha2
cin
parents: 273
diff changeset
11 public List<ContainerItemElement> Items { get; set; } = new List<ContainerItemElement>();
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
12
274
22629bf26121 Unity xml configuration, alpha2
cin
parents: 273
diff changeset
13 public override void Visit(ContainerBuilder context) {
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 271
diff changeset
14 context.Visit(this);
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
15 }
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
16 }
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
17 }