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