Mercurial > pub > ImplabNet
annotate Implab.ServiceHost/Unity/ConstructorInjectionElement.cs @ 273:79110a16cab7 v3
Working on Unity xml configuration: Refactoring in progress
author | cin |
---|---|
date | Thu, 26 Apr 2018 19:35:01 +0300 |
parents | 9d1cca834b05 |
children | 22629bf26121 |
rev | line source |
---|---|
270 | 1 using System.Xml.Serialization; |
2 | |
3 namespace Implab.ServiceHost.Unity { | |
4 public class ConstructorInjectionElement : AbstractInjectionElement { | |
5 | |
6 [XmlElement("dependency", typeof(DependencyParameterElement))] | |
7 [XmlElement("value", typeof(ValueParameterElement))] | |
8 [XmlElement("serialized", typeof(SerializedParameterElement))] | |
9 [XmlElement("default", typeof(DefaultParameterElement))] | |
10 public InjectionParameterElement[] Parameters { get; set; } | |
272 | 11 |
273
79110a16cab7
Working on Unity xml configuration: Refactoring in progress
cin
parents:
272
diff
changeset
|
12 internal override void Visit(TypeRegistrationContext context) { |
272 | 13 context.Visit(this); |
14 } | |
270 | 15 } |
16 } |