annotate Implab.ServiceHost/Unity/ContainerElement.cs @ 273:79110a16cab7 v3

Working on Unity xml configuration: Refactoring in progress
author cin
date Thu, 26 Apr 2018 19:35:01 +0300
parents d4d437ec4483
children 22629bf26121
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
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 271
diff changeset
11 public List<ContainerItemElement> Items {get; set; } = new List<ContainerItemElement>();
267
6b3e5c48131b Working on Unity xml configuration
cin
parents:
diff changeset
12
273
79110a16cab7 Working on Unity xml configuration: Refactoring in progress
cin
parents: 271
diff changeset
13 public override void Visit(ContainerContext context) {
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 }