Esempio n. 1
0
        public IEnumerable <Guid> UriQuery(UriQuery query)
        {
            var args = from pair in query
                       let conv = GetConversionForParameter(pair.Key)
                                  let argValue = pair.Value
                                                 select conv(argValue);

            var method = GetQueryMethod(query.Select(k => k.Key).ToArray());

            return(method(args.ToArray()));
        }
Esempio n. 2
0
 public IEnumerable<Guid> UriQuery(UriQuery query)
 {
     var args = from pair in query
                let conv = GetConversionForParameter(pair.Key)
                let argValue = pair.Value
                select conv(argValue);
     var method = GetQueryMethod(query.Select(k => k.Key).ToArray());
     return method(args.ToArray());
 }
Esempio n. 3
0
 public ParameterNames(UriQuery query) : this(query.Select(k => k.Key))
 {
 }