public IAsyncCursor <string> ListDatabaseNames(
     IClientSessionHandle session,
     ListDatabaseNamesOptions options,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     return(wrapped.ListDatabaseNames(session, options, cancellationToken));
 }
Ejemplo n.º 2
0
 public Task <IAsyncCursor <string> > ListDatabaseNamesAsync(
     IClientSessionHandle session,
     ListDatabaseNamesOptions options,
     CancellationToken cancellationToken = default)
 {
     return(_client.ListDatabaseNamesAsync(session, options, cancellationToken));
 }
Ejemplo n.º 3
0
        public IAsyncCursor <string> ListDatabaseNames(
            ListDatabaseNamesOptions options,
            CancellationToken cancellationToken = default)
        {
            if (TryGetSession(out IClientSessionHandle? session))
            {
                return(_client.ListDatabaseNames(session, options, cancellationToken));
            }

            return(_client.ListDatabaseNames(options, cancellationToken));
        }
Ejemplo n.º 4
0
 public Task <IAsyncCursor <string> > ListDatabaseNamesAsync(ListDatabaseNamesOptions options, CancellationToken cancellationToken = default)
 {
     return(((IMongoClient)Client).ListDatabaseNamesAsync(options, cancellationToken));
 }
Ejemplo n.º 5
0
 public Task <IAsyncCursor <string> > ListDatabaseNamesAsync(IClientSessionHandle session, ListDatabaseNamesOptions options, CancellationToken cancellationToken = default)
 {
     throw new System.NotImplementedException();
 }
Ejemplo n.º 6
0
 public IAsyncCursor <string> ListDatabaseNames(ListDatabaseNamesOptions options, CancellationToken cancellationToken = default)
 {
     throw new System.NotImplementedException();
 }
Ejemplo n.º 7
0
 public Task <IAsyncCursor <string> > ListDatabaseNamesAsync(ListDatabaseNamesOptions options, CancellationToken cancellationToken     = default) => throw new NotImplementedException();
Ejemplo n.º 8
0
 public IAsyncCursor <string> ListDatabaseNames(IClientSessionHandle session, ListDatabaseNamesOptions options, CancellationToken cancellationToken = default) => throw new NotImplementedException();
 public IAsyncCursor <string> ListDatabaseNames(
     ListDatabaseNamesOptions options,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     return(wrapped.ListDatabaseNames(options, cancellationToken));
 }