270
|
1 using System.Xml.Serialization;
|
|
2
|
|
3 namespace Implab.ServiceHost.Unity {
|
277
|
4 public class PropertyInjectionElement : AbstractMemberInjection {
|
270
|
5
|
272
|
6 [XmlAttribute("name")]
|
|
7 public string Name { get; set; }
|
|
8
|
270
|
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))]
|
270
|
14 public InjectionParameterElement Value { get; set; }
|
272
|
15
|
274
|
16 internal override void Visit(TypeRegistrationBuilder context) {
|
272
|
17 context.Visit(this);
|
|
18 }
|
270
|
19 }
|
|
20 } |