Mercurial > pub > ImplabNet
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 |
rev | line source |
---|---|
267 | 1 using Implab.Xml; |
2 using System.Collections.Generic; | |
3 using System.Xml; | |
4 using System.Xml.Schema; | |
5 using System.Xml.Serialization; | |
6 | |
7 namespace Implab.ServiceHost.Unity { | |
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 | 10 |
274 | 11 public List<ContainerItemElement> Items { get; set; } = new List<ContainerItemElement>(); |
267 | 12 |
274 | 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 | 15 } |
16 } | |
17 } |