public static MultipleDependencyConstructorsException MultipleInjectAttribute(Type type)
 {
     return(new MultipleDependencyConstructorsException(type, IllegalInjectionAttributeUsageException.MultipleConstructorsWithInjectAttribute(type)));
 }
Example #2
0
 public static NullDependencyInstanceException NullInjectablePropertyException(PropertyInfo property)
 {
     return(new NullDependencyInstanceException($"The injectable property {property.Name} has a null dependency", IllegalInjectionAttributeUsageException.NullInjectablePropertyException()));
 }