public virtual IDependencyAttribute GetAttribute(ConstructorInfo p, Type type, bool inherit = false) => p.GetAttribute <DependencyAttribute>(type);
public virtual IInjectionAttribute GetAttribute(ConstructorInfo p, Type type, bool inherit = false) => p.GetAttribute <InjectionAttribute>(type);
public InjectAttribute VisitConstructor(ConstructorInfo ctor) { return(ctor.GetAttribute <InjectAttribute>(false)); }
public virtual T GetAttribute(ConstructorInfo prop, Type type, bool inherit = false) => prop.GetAttribute <T>(type, inherit);