##// 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
/ Implab.ServiceHost / Unity / InjectionParameterElement.cs
cin
Working on Unity xml configuration: Refactoring in progress
r273 using System;
cin
Working on Unity container xml configuration
r270 using System.Xml.Serialization;
namespace Implab.ServiceHost.Unity {
cin
preview version of Unity xml configuration
r272 public abstract class InjectionParameterElement {
cin
Working on Unity container xml configuration
r270
[XmlAttribute("type")]
public string TypeName { get; set; }
cin
preview version of Unity xml configuration
r272
cin
Working on Unity xml configuration: Refactoring in progress
r273 internal abstract object Resolve(InjectionValueContext context);
public virtual Type ResolveParameterType(InjectionValueContext context) {
return context.ResolveType(TypeName);
}
cin
Working on Unity container xml configuration
r270 }
}