- negate isInterface

ImplementExpressionTrees
Simon G 3 years ago
parent 88c04c2314
commit 0f55069160
  1. 2
      LightweightIocContainer.Validation/IocValidator.cs

@ -90,7 +90,7 @@ public class IocValidator
if (type == typeof(string)) if (type == typeof(string))
return string.Empty; return string.Empty;
if (type.IsInterface) if (!type.IsInterface)
return new NullParameter(type); return new NullParameter(type);
try try

Loading…
Cancel
Save