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