Ejemplo n.º 1
0
 protected override bool IsMemberSuitable(BuilderMemberInfo memberInfo)
 {
     if (memberInfo.MemberType == MemberType.Parameter || !InjectOnlyFlaggedProperties)
     {
         return(true);
     }
     return(memberInfo.Attributes.Any(x => x is InjectInstanceAttribute || x is ShoudlInjectAttribute));
 }
Ejemplo n.º 2
0
 public static KeyValuePair <string, string> GetKey(BuilderMemberInfo propInfo)
 {
     return(new KeyValuePair <string, string>(propInfo.Name, propInfo.Type.FullName));
 }
Ejemplo n.º 3
0
 protected override bool IsMemberSuitable(BuilderMemberInfo memberInfo)
 {
     return(true);
 }
Ejemplo n.º 4
0
 protected override bool IsMemberSuitable(BuilderMemberInfo memberInfo)
 {
     return(PropertyToResolve.Name == memberInfo.Name);
 }