##// END OF EJS Templates
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete)...
Implab: added XmlDefaultSeializer (SerializersPool is now obsolete) Implab.ServiceHost: rewritten TypeReference (added support for nested types), stable API

File last commit:

r277:963b17c275be v3
r278:6691aff01de1 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);
}
}
}