annotate Implab.ServiceHost/Unity/ConstructorInjectionElement.cs @ 271:d4d437ec4483 v3

Working on Unity xml configuration
author cin
date Wed, 25 Apr 2018 19:23:35 +0300
parents ade80d94dfb5
children 9d1cca834b05
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; }
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
11 }
ade80d94dfb5 Working on Unity container xml configuration
cin
parents:
diff changeset
12 }