Exemplo n.º 1
0
        public ResolutionResult ResolveValue(ResolutionContext context)
        {
            var result = new ResolutionResult(context);

            return(SourceResolvers.Aggregate(result, (current, resolver) => resolver.Resolve(current)));
        }
Exemplo n.º 2
0
 public Expression GetExpression(Expression instanceParameter)
 {
     return(SourceResolvers.Aggregate(instanceParameter,
                                      (parameter, getter) => Expression.MakeMemberAccess(parameter, getter.MemberInfo)));
 }