Mercurial > pub > ImplabNet
view Implab.ServiceHost/Unity/ContainerElement.cs @ 280:f07be402ab02 v3
Added Trace<T>.Debug(...) method for debug messages
Added ContainerBuilde.LoadConfig(Uri) method
author | cin |
---|---|
date | Fri, 25 May 2018 19:15:26 +0300 |
parents | 963b17c275be |
children |
line wrap: on
line source
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)] public class ContainerElement : AbstractContainerItem { public List<AbstractContainerItem> Items { get; set; } = new List<AbstractContainerItem>(); public override void Visit(ContainerBuilder context) { if (Items != null) foreach(var item in Items) item.Visit(context); } } }