ArrayParameterElement.cs
19 lines
| 679 B
| text/x-csharp
|
CSharpLexer
cin
|
r289 | using System.Xml.Serialization; | |
namespace Implab.ServiceHost.Unity | |||
{ | |||
public class ArrayParameterElement : AbstractInjectionParameter { | |||
[XmlAttribute("itemsType")] | |||
public string ItemsType { get; set; } | |||
[XmlElement("dependency", typeof(DependencyParameterElement))] | |||
[XmlElement("value", typeof(ValueParameterElement))] | |||
[XmlElement("serialized", typeof(SerializedParameterElement))] | |||
[XmlElement("default", typeof(DefaultParameterElement))] | |||
public AbstractInjectionParameter[] Items { get; set; } | |||
public override void Visit(InjectionParameterBuilder builder) { | |||
builder.Visit(this); | |||
} | |||
} | |||
} |