Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/MethodInjectionElement.cs @ 270:ade80d94dfb5 v3
Working on Unity container xml configuration
author | cin |
---|---|
date | Wed, 25 Apr 2018 04:44:40 +0300 |
parents | |
children | 9d1cca834b05 |
comparison
equal
deleted
inserted
replaced
269:ff581cff7003 | 270:ade80d94dfb5 |
---|---|
1 using System.Xml.Serialization; | |
2 | |
3 namespace Implab.ServiceHost.Unity { | |
4 public class MethodInjectionElement : AbstractInjectionElement { | |
5 | |
6 [XmlAttribute("name")] | |
7 public string Name { get; set; } | |
8 | |
9 [XmlElement("dependency", typeof(DependencyParameterElement))] | |
10 [XmlElement("value", typeof(ValueParameterElement))] | |
11 [XmlElement("serialized", typeof(SerializedParameterElement))] | |
12 [XmlElement("default", typeof(DefaultParameterElement))] | |
13 public InjectionParameterElement[] Parameters { get; set; } | |
14 | |
15 } | |
16 } |