private static MemberInfo GetSubstitution(IPredicateConverter converter, MemberInfo member) { return(converter.Substitutions.ContainsKey(member) ? converter.Substitutions[member] : GetDefaultMemberSubstitution(converter.TargetType, member)); }
private PredicateMapper(IPredicateConverter converter) { _converters = new List <IPredicateConverter> { converter }; }
private static MemberInfo GetSubstitution(IPredicateConverter converter, MethodInfo method) { return(converter.Substitutions.ContainsKey(method) ? converter.Substitutions[method] : GetDefaultMethodSubstitution(converter.SourceType, converter.TargetType, method)); }