Namespace Couchbase.Extensions.DependencyInjection
Classes
BucketBuilderExtensions
Extensions for IBucketBuilder and IScopeBuilder.
DefaultCollectionProvider
Base implementation for INamedCollectionProvider for a default collection.
NamedBucketProvider
Base implementation for INamedBucketProvider.
NamedCollectionProvider
Base implementation for INamedCollectionProvider.
ServiceCollectionExtensions
Extensions to IServiceCollection for Couchbase dependency injection.
Interfaces
IBucketBuilder
Applies additional configuration to a bucket for dependency injection.
IBucketProvider
Provides access to buckets for a Couchbase cluster. Should maintain singleton instances of each bucket. Consumers should not dispose the IBucket implementations. Instead, this provider should be disposed during application shutdown using ICouchbaseLifetimeService.
IClusterProvider
Provides access to a Couchbase cluster.
ICouchbaseLifetimeService
Provides a method to gracefully close the Couchbase connections during application shutdown.
INamedBucketProvider
Base interface for injecting specific buckets. Inherit an empty interface from this interface, and then use AddCouchbaseBucket<T>(IServiceCollection, string) to register the interface in the IServiceCollection.
INamedCollectionProvider
Base interface for injecting specific Couchbase collections.
IScopeBuilder
Applies additional configuration to a scope for dependency injection.