diff 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
line wrap: on
line diff
--- a/Implab.ServiceHost/Unity/TypeResolver.cs	Thu May 03 09:59:44 2018 +0300
+++ b/Implab.ServiceHost/Unity/TypeResolver.cs	Fri May 04 18:12:42 2018 +0300
@@ -27,6 +27,7 @@
         }
 
         public Type Resolve(string typeSpec, bool throwOnFail) {
+            Safe.ArgumentNotEmpty(typeSpec, nameof(typeSpec));
             var typeReference = TypeReference.Parse(typeSpec);
             return Resolve(typeReference, throwOnFail);
         }