##// END OF EJS Templates
Refactoring...
Refactoring Added <array> element to injection parameters Working on registrations of factories

File last commit:

r277:963b17c275be v3
r277:963b17c275be v3
Show More
ConstructorInjectionElement.cs
16 lines | 672 B | text/x-csharp | CSharpLexer
/ Implab.ServiceHost / Unity / ConstructorInjectionElement.cs
using System.Xml.Serialization;
namespace Implab.ServiceHost.Unity {
public class ConstructorInjectionElement : AbstractMemberInjection {
[XmlElement("dependency", typeof(DependencyParameterElement))]
[XmlElement("value", typeof(ValueParameterElement))]
[XmlElement("serialized", typeof(SerializedParameterElement))]
[XmlElement("default", typeof(DefaultParameterElement))]
[XmlElement("array", typeof(ArrayParameterElement))]
public InjectionParameterElement[] Parameters { get; set; }
internal override void Visit(TypeRegistrationBuilder context) {
context.Visit(this);
}
}
}