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