public CreateParameters ( string resource, string>.IEnumerable |
||
resource | string | |
collection | string>.IEnumerable | |
return | List |
public static Search.Mongo.Parameters Parameters(Definitions definitions, string resource, IEnumerable<Criterium> criteria) { ParameterFactory factory = new ParameterFactory(definitions, resource); Parameters parameters = new Parameters(); parameters += factory.ResourceParameter(); parameters += factory.CreateParameters(resource, criteria); return parameters; }
public static Parameters Parameters(Definitions definitions, string resource, IEnumerable<Tuple<string, string>> query) { ParameterFactory factory = new ParameterFactory(definitions, resource); Parameters parameters = new Parameters(); parameters += factory.ResourceParameter(); parameters += factory.CreateParameters(resource, query); return parameters; }
public static Search.Mongo.Parameters Parameters(Definitions definitions, string resource, IEnumerable <Criterium> criteria) { ParameterFactory factory = new ParameterFactory(definitions, resource); Parameters parameters = new Parameters(); parameters += factory.ResourceParameter(); parameters += factory.CreateParameters(resource, criteria); return(parameters); }
public static Parameters Parameters(Definitions definitions, string resource, IEnumerable <Tuple <string, string> > query) { ParameterFactory factory = new ParameterFactory(definitions, resource); Parameters parameters = new Parameters(); parameters += factory.ResourceParameter(); parameters += factory.CreateParameters(resource, query); return(parameters); }