Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/ArrayParameterElement.cs @ 279:8714471e8d78 v3
Container configuration cleanup, RC2
author | cin |
---|---|
date | Fri, 04 May 2018 18:12:42 +0300 |
parents | 6691aff01de1 |
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 } |