annotate Implab.ServiceHost/Unity/ConstructorInjectionElement.cs @ 276:b4e0f81c7425 v3

container configuration docs
author cin
date Sat, 28 Apr 2018 00:11:38 +0300
parents 22629bf26121
children 963b17c275be
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 {
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
4 public class ConstructorInjectionElement : AbstractInjectionElement {
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))]
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
10 public InjectionParameterElement[] Parameters { get; set; }
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
11
274
22629bf26121 Unity xml configuration, alpha2
cin
parents: 273
diff changeset
12 internal override void Visit(TypeRegistrationBuilder context) {
272
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
13 context.Visit(this);
9d1cca834b05 preview version of Unity xml configuration
cin
parents: 270
diff changeset
14 }
270
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
15 }
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
16 }