Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class Keyspace

Inheritance
object
Keyspace
Implements
IEquatable<Keyspace>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: Couchbase.Client.Transactions
Assembly: Couchbase.NetClient.dll
Syntax
public record Keyspace : IEquatable<Keyspace>

Constructors

View Source

Keyspace(Keyspace)

Declaration
protected Keyspace(Keyspace original)
Parameters
Type Name Description
Keyspace original
View Source

Keyspace(ICouchbaseCollection)

Declaration
public Keyspace(ICouchbaseCollection collection)
Parameters
Type Name Description
ICouchbaseCollection collection
View Source

Keyspace(string, string, string)

Declaration
public Keyspace(string BucketName, string ScopeName, string CollectionName)
Parameters
Type Name Description
string BucketName
string ScopeName
string CollectionName

Properties

View Source

BucketName

Declaration
public string BucketName { get; init; }
Property Value
Type Description
string
View Source

CollectionName

Declaration
public string CollectionName { get; init; }
Property Value
Type Description
string
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

ScopeName

Declaration
public string ScopeName { get; init; }
Property Value
Type Description
string

Methods

View Source

Deconstruct(out string, out string, out string)

Declaration
public void Deconstruct(out string BucketName, out string ScopeName, out string CollectionName)
Parameters
Type Name Description
string BucketName
string ScopeName
string CollectionName
View Source

Equals(Keyspace?)

Declaration
public virtual bool Equals(Keyspace? other)
Parameters
Type Name Description
Keyspace other
Returns
Type Description
bool
View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToCouchbaseCollection(ICluster, CancellationToken)

Declaration
public Task<ICouchbaseCollection> ToCouchbaseCollection(ICluster cluster, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ICluster cluster
CancellationToken cancellationToken
Returns
Type Description
Task<ICouchbaseCollection>
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(Keyspace?, Keyspace?)

Declaration
public static bool operator ==(Keyspace? left, Keyspace? right)
Parameters
Type Name Description
Keyspace left
Keyspace right
Returns
Type Description
bool
View Source

operator !=(Keyspace?, Keyspace?)

Declaration
public static bool operator !=(Keyspace? left, Keyspace? right)
Parameters
Type Name Description
Keyspace left
Keyspace right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.