Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/InjectionParameterElement.cs @ 274:22629bf26121 v3
Unity xml configuration, alpha2
author | cin |
---|---|
date | Fri, 27 Apr 2018 04:47:52 +0300 |
parents | 79110a16cab7 |
children | 6fefd5811b9b |
comparison
equal
deleted
inserted
replaced
273:79110a16cab7 | 274:22629bf26121 |
---|---|
5 public abstract class InjectionParameterElement { | 5 public abstract class InjectionParameterElement { |
6 | 6 |
7 [XmlAttribute("type")] | 7 [XmlAttribute("type")] |
8 public string TypeName { get; set; } | 8 public string TypeName { get; set; } |
9 | 9 |
10 internal abstract object Resolve(InjectionValueContext context); | 10 internal abstract void Visit(InjectionValueBuilder builder); |
11 | |
12 public virtual Type ResolveParameterType(InjectionValueContext context) { | |
13 return context.ResolveType(TypeName); | |
14 } | |
15 } | 11 } |
16 } | 12 } |