public ResolutionResult ResolveValue(ResolutionContext context) { var result = new ResolutionResult(context); return(SourceResolvers.Aggregate(result, (current, resolver) => resolver.Resolve(current))); }
public Expression GetExpression(Expression instanceParameter) { return(SourceResolvers.Aggregate(instanceParameter, (parameter, getter) => Expression.MakeMemberAccess(parameter, getter.MemberInfo))); }