##// END OF EJS Templates
Working on Unity xml configuration: Refactoring in progress
Working on Unity xml configuration: Refactoring in progress

File last commit:

r273:79110a16cab7 v3
r273:79110a16cab7 v3
Show More
InjectionParameterElement.cs
15 lines | 447 B | text/x-csharp | CSharpLexer
using System;
using System.Xml.Serialization;
namespace Implab.ServiceHost.Unity {
public abstract class InjectionParameterElement {
[XmlAttribute("type")]
public string TypeName { get; set; }
internal abstract object Resolve(InjectionValueContext context);
public virtual Type ResolveParameterType(InjectionValueContext context) {
return context.ResolveType(TypeName);
}
}
}