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