Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/ContainerElement.cs @ 275:6fefd5811b9b v3
refactoring
| author | cin |
|---|---|
| date | Fri, 27 Apr 2018 16:57:30 +0300 |
| parents | 22629bf26121 |
| 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 } |
