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