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
|
|
16 public override void Visit(InjectionValueBuilder builder) {
|
|
17 builder.Visit(this);
|
|
18 }
|
|
19 }
|
|
20 } |