public Expression ResolveMemberAccess(Expression resolvedSourceExpression, MemberInfo memberInfo, IMappingResolver mappingResolver, IMappingResolutionContext context) { ArgumentUtility.CheckNotNull("resolvedSourceExpression", resolvedSourceExpression); ArgumentUtility.CheckNotNull("memberInfo", memberInfo); ArgumentUtility.CheckNotNull("mappingResolver", mappingResolver); ArgumentUtility.CheckNotNull("context", context); return(MemberAccessResolver.ResolveMemberAccess(resolvedSourceExpression, memberInfo, mappingResolver, this, context)); }
public static Expression ResolveMemberAccess( Expression resolvedSourceExpression, MemberInfo memberInfo, IMappingResolver mappingResolver, IMappingResolutionStage mappingResolutionStage, IMappingResolutionContext mappingResolutionContext) { ArgumentUtility.CheckNotNull("resolvedSourceExpression", resolvedSourceExpression); ArgumentUtility.CheckNotNull("memberInfo", memberInfo); ArgumentUtility.CheckNotNull("mappingResolver", mappingResolver); ArgumentUtility.CheckNotNull("mappingResolutionStage", mappingResolutionStage); ArgumentUtility.CheckNotNull("mappingResolutionContext", mappingResolutionContext); var resolver = new MemberAccessResolver(memberInfo, mappingResolver, mappingResolutionStage, mappingResolutionContext); return(resolver.Visit(resolvedSourceExpression)); }