ContainerElement.cs
18 lines
| 601 B
| text/x-csharp
|
CSharpLexer
|
|
r267 | using Implab.Xml; | |
| using System.Collections.Generic; | |||
| using System.Xml; | |||
| using System.Xml.Schema; | |||
| using System.Xml.Serialization; | |||
| namespace Implab.ServiceHost.Unity { | |||
| [XmlRoot("container", Namespace = Schema.ContainerConfigurationNamespace)] | |||
|
|
r277 | public class ContainerElement : AbstractContainerItem { | |
|
|
r267 | ||
|
|
r277 | public List<AbstractContainerItem> Items { get; set; } = new List<AbstractContainerItem>(); | |
|
|
r267 | ||
|
|
r274 | public override void Visit(ContainerBuilder context) { | |
|
|
r277 | if (Items != null) | |
| foreach(var item in Items) | |||
| item.Visit(context); | |||
|
|
r267 | } | |
| } | |||
| } |
