Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the
 /// <see cref="T:Stitch.Services.MongoDB.MongoClient"/> class.
 /// </summary>
 /// <param name="stitchClient">The client to execute with.</param>
 /// <param name="service">The name of the MongoDB service.</param>
 public MongoClient(StitchClientBase stitchClient, string service)
 {
     this._stitchClient = stitchClient;
     this._service      = service;
 }
 public ClientManager(StitchClientBase stitchClient)
 {
     this.StitchClient = stitchClient;
     this.MongoClient  = new MongoClient(this.StitchClient,
                                         "mongodb-atlas");
 }