public static Parameters Parameters(Definitions definitions, string resource) { ParameterFactory factory = new ParameterFactory(definitions, resource); Parameters parameters = new Parameters(); parameters += factory.ResourceParameter(); 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; }
public static Parameters Parameters(Definitions definitions, string resource, string query) { ParameterFactory factory = new ParameterFactory(definitions, resource); Parameters parameters = new Parameters(); parameters += factory.ResourceParameter(); parameters += factory.CreateParametersFromHttpQuery(resource, query); return parameters; }