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