Namespace Couchbase.Extensions.DependencyInjection
Classes
BucketBuilderExtensions
Extensions for IBucketBuilder and IScopeBuilder.
ServiceCollectionExtensions
Extensions to
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
INamedCollectionProvider
Base interface for injecting specific Couchbase collections.
IScopeBuilder
Applies additional configuration to a scope for dependency injection.