示例#1
0
 private bool IsValidConstructor(ConstructorInfo constructorInfo)
 {
     return constructorInfo.GetParameters().Length == 0 ||
            constructorInfo.GetMemberInfoAttribute<Inject>() != null;
 }