Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/ArrayParameterElement.cs @ 281:e0916ddc9950 v3 tip
code cleanup and refactoring
author | cin |
---|---|
date | Fri, 01 Jun 2018 21:35:24 +0300 |
parents | 6691aff01de1 |
children |
rev | line source |
---|---|
277 | 1 using System.Xml.Serialization; |
2 | |
3 namespace Implab.ServiceHost.Unity | |
4 { | |
281 | 5 public class ArrayParameterElement : AbstractInjectionParameter { |
277 | 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))] | |
281 | 14 public AbstractInjectionParameter[] Items { get; set; } |
277 | 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 } |