annotate Implab.ServiceHost/Unity/ConstructorInjectionElement.cs @ 270:ade80d94dfb5 v3

Working on Unity container xml configuration
author cin
date Wed, 25 Apr 2018 04:44:40 +0300
parents
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 }