Mercurial > pub > ImplabNet
view Implab.ServiceHost/Unity/MethodInjectionElement.cs @ 274:22629bf26121 v3
Unity xml configuration, alpha2
author | cin |
---|---|
date | Fri, 27 Apr 2018 04:47:52 +0300 |
parents | 9d1cca834b05 |
children | 963b17c275be |
line wrap: on
line source
using System.Xml.Serialization; namespace Implab.ServiceHost.Unity { public class MethodInjectionElement : AbstractInjectionElement { [XmlAttribute("name")] public string Name { get; set; } [XmlElement("dependency", typeof(DependencyParameterElement))] [XmlElement("value", typeof(ValueParameterElement))] [XmlElement("serialized", typeof(SerializedParameterElement))] [XmlElement("default", typeof(DefaultParameterElement))] public InjectionParameterElement[] Parameters { get; set; } internal override void Visit(TypeRegistrationBuilder context) { context.Visit(this); } } }