Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/ArrayParameterElement.cs @ 278:6691aff01de1 v3
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API
author | cin |
---|---|
date | Thu, 03 May 2018 09:59:44 +0300 |
parents | 963b17c275be |
children | e0916ddc9950 |
rev | line source |
---|---|
277 | 1 using System.Xml.Serialization; |
2 | |
3 namespace Implab.ServiceHost.Unity | |
4 { | |
5 public class ArrayParameterElement : InjectionParameterElement { | |
6 | |
7 [XmlAttribute("itemsType")] | |
8 public string ItemsType { get; set; } | |
9 | |
10 [XmlElement("dependency", typeof(DependencyParameterElement))] | |
11 [XmlElement("value", typeof(ValueParameterElement))] | |
12 [XmlElement("serialized", typeof(SerializedParameterElement))] | |
13 [XmlElement("default", typeof(DefaultParameterElement))] | |
14 public InjectionParameterElement[] Items { get; set; } | |
15 | |
278
6691aff01de1
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)
cin
parents:
277
diff
changeset
|
16 public override void Visit(InjectionParameterBuilder builder) { |
277 | 17 builder.Visit(this); |
18 } | |
19 } | |
20 } |