public DB(CouchRepo couchRepo, string name) { this.couchRepo = couchRepo; this.name = name; this.couchUrl = this.couchRepo.couchUrl.DB(name); this.allDocs = new Design.AllDocs(this); }
internal static CouchUrl Create(CouchRepo couchRepo, FSharpList <string> path, FSharpMap <string, string> queryString, FSharpList <CouchFilter> filters) { return(new CouchUrl() { couchRepo = couchRepo, path = path ?? ListModule.Empty <string>(), queryString = queryString ?? MapModule.Empty <string, string>(), filters = filters ?? ListModule.Empty <CouchFilter>() }); }
private CouchResponse MakeResponse(CouchRepo couchRepo, WebResponse resp) { return(new CouchResponse(couchRepo) { Stream = resp.GetResponseStream(), ContentLength = resp.ContentLength, ContentType = resp.ContentType, Response = resp }); }
public UsersMaintenance(CouchRepo couchRepo) : base(couchRepo, "_users") { }
public Authentication(CouchRepo couchRepo) { this.couchRepo = couchRepo; }
public CouchResponse(CouchRepo couchRepo) { this.couchRepo = couchRepo; }