- don't try to mock impls

ImplementExpressionTrees
Simon G 3 years ago
parent 2c57421e21
commit 6c7751153e
  1. 3
      LightweightIocContainer.Validation/IocValidator.cs

@ -89,6 +89,9 @@ public class IocValidator
if (type == typeof(string)) if (type == typeof(string))
return string.Empty; return string.Empty;
if (type.IsInterface)
return new NullParameter(type);
try try
{ {

Loading…
Cancel
Save