annotate Implab.ServiceHost/Unity/ConstructorInjectionElement.cs @ 281:e0916ddc9950 v3 tip

code cleanup and refactoring
author cin
date Fri, 01 Jun 2018 21:35:24 +0300
parents 8714471e8d78
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
1 using System.Xml.Serialization;
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
2
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
3 namespace Implab.ServiceHost.Unity {
277
963b17c275be Refactoring
cin
parents: 274
diff changeset
4 public class ConstructorInjectionElement : AbstractMemberInjection {
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
5
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
6 [XmlElement("dependency", typeof(DependencyParameterElement))]
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
7 [XmlElement("value", typeof(ValueParameterElement))]
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
8 [XmlElement("serialized", typeof(SerializedParameterElement))]
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
9 [XmlElement("default", typeof(DefaultParameterElement))]
277
963b17c275be Refactoring
cin
parents: 274
diff changeset
10 [XmlElement("array", typeof(ArrayParameterElement))]
281
e0916ddc9950 code cleanup and refactoring
cin
parents: 279
diff changeset
11 public AbstractInjectionParameter[] Parameters { get; set; }
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
12
279
8714471e8d78 Container configuration cleanup, RC2
cin
parents: 277
diff changeset
13 public override void Visit(TypeRegistrationBuilder builder) {
8714471e8d78 Container configuration cleanup, RC2
cin
parents: 277
diff changeset
14 builder.Visit(this);
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
15 }
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
16 }
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
17 }