Class NamedCollectionProvider
Base implementation for INamedCollectionProvider.
Implements
Inherited Members
Namespace: Couchbase.Extensions.DependencyInjection
Assembly: Couchbase.Extensions.DependencyInjection.dll
Syntax
public abstract class NamedCollectionProvider : INamedCollectionProvider
Remarks
Used to simplify creating AOT-compatible instances of INamedCollectionProvider.
Constructors
| Edit this page View SourceNamedCollectionProvider(INamedBucketProvider, string, string)
Declaration
public NamedCollectionProvider(INamedBucketProvider bucketProvider, string scopeName, string collectionName)
Parameters
Type | Name | Description |
---|---|---|
INamedBucketProvider | bucketProvider | |
string | scopeName | |
string | collectionName |
Properties
| Edit this page View SourceCollectionName
Name of the collection.
Declaration
public string CollectionName { get; }
Property Value
Type | Description |
---|---|
string |
ScopeName
Name of the scope.
Declaration
public string ScopeName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceGetCollectionAsync()
Returns the collection.
Declaration
public virtual ValueTask<ICouchbaseCollection> GetCollectionAsync()
Returns
Type | Description |
---|---|
ValueTask<ICouchbaseCollection> | The ICouchbaseCollection. |