270
|
1 using System.Xml.Serialization;
|
|
2
|
|
3 namespace Implab.ServiceHost.Unity {
|
277
|
4 public class ConstructorInjectionElement : AbstractMemberInjection {
|
270
|
5
|
|
6 [XmlElement("dependency", typeof(DependencyParameterElement))]
|
|
7 [XmlElement("value", typeof(ValueParameterElement))]
|
|
8 [XmlElement("serialized", typeof(SerializedParameterElement))]
|
|
9 [XmlElement("default", typeof(DefaultParameterElement))]
|
277
|
10 [XmlElement("array", typeof(ArrayParameterElement))]
|
270
|
11 public InjectionParameterElement[] Parameters { get; set; }
|
272
|
12
|
279
|
13 public override void Visit(TypeRegistrationBuilder builder) {
|
|
14 builder.Visit(this);
|
272
|
15 }
|
270
|
16 }
|
|
17 } |