Mercurial > pub > ImplabNet
comparison Implab.ServiceHost/Unity/TypeResolver.cs @ 279:8714471e8d78 v3
Container configuration cleanup, RC2
author | cin |
---|---|
date | Fri, 04 May 2018 18:12:42 +0300 |
parents | 6691aff01de1 |
children |
comparison
equal
deleted
inserted
replaced
278:6691aff01de1 | 279:8714471e8d78 |
---|---|
25 typeReference.Visit(context); | 25 typeReference.Visit(context); |
26 return context.MakeType(); | 26 return context.MakeType(); |
27 } | 27 } |
28 | 28 |
29 public Type Resolve(string typeSpec, bool throwOnFail) { | 29 public Type Resolve(string typeSpec, bool throwOnFail) { |
30 Safe.ArgumentNotEmpty(typeSpec, nameof(typeSpec)); | |
30 var typeReference = TypeReference.Parse(typeSpec); | 31 var typeReference = TypeReference.Parse(typeSpec); |
31 return Resolve(typeReference, throwOnFail); | 32 return Resolve(typeReference, throwOnFail); |
32 } | 33 } |
33 | 34 |
34 LinkedListNode<string> m_insertAt; | 35 LinkedListNode<string> m_insertAt; |