##// END OF EJS Templates
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)...
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete) Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API

File last commit:

r277:963b17c275be v3
r278:6691aff01de1 v3
Show More
ContainerElement.cs
18 lines | 601 B | text/x-csharp | CSharpLexer
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);
}
}
}