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