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())); }
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()); }
public ParameterNames(UriQuery query) : this(query.Select(k => k.Key)) { }