Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class GetOptions.ReadOnly

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

Constructors

View Source

ReadOnly(ReadOnly)

Declaration
protected ReadOnly(GetOptions.ReadOnly original)
Parameters
Type Name Description
GetOptions.ReadOnly original
View Source

ReadOnly(bool, ReadOnlyCollection<string>, TimeSpan?, CancellationToken, ITypeTranscoder?, TimeSpan?, IRetryStrategy?, IRequestSpan?, bool)

Declaration
public ReadOnly(bool IncludeExpiry, ReadOnlyCollection<string> ProjectList, TimeSpan? Timeout, CancellationToken Token, ITypeTranscoder? Transcoder, TimeSpan? TimeSpan, IRetryStrategy? RetryStrategy, IRequestSpan? RequestSpan, bool PreferReturn)
Parameters
Type Name Description
bool IncludeExpiry
ReadOnlyCollection<string> ProjectList
TimeSpan? Timeout
CancellationToken Token
ITypeTranscoder Transcoder
TimeSpan? TimeSpan
IRetryStrategy RetryStrategy
IRequestSpan RequestSpan
bool PreferReturn

Properties

View Source

EqualityContract

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

IncludeExpiry

Declaration
public bool IncludeExpiry { get; init; }
Property Value
Type Description
bool
View Source

PreferReturn

Declaration
public bool PreferReturn { get; init; }
Property Value
Type Description
bool
View Source

ProjectList

Declaration
public ReadOnlyCollection<string> ProjectList { get; init; }
Property Value
Type Description
ReadOnlyCollection<string>
View Source

RequestSpan

Declaration
public IRequestSpan? RequestSpan { get; init; }
Property Value
Type Description
IRequestSpan
View Source

RetryStrategy

Declaration
public IRetryStrategy? RetryStrategy { get; init; }
Property Value
Type Description
IRetryStrategy
View Source

TimeSpan

Declaration
public TimeSpan? TimeSpan { get; init; }
Property Value
Type Description
TimeSpan?
View Source

Timeout

Declaration
public TimeSpan? Timeout { get; init; }
Property Value
Type Description
TimeSpan?
View Source

Token

Declaration
public CancellationToken Token { get; init; }
Property Value
Type Description
CancellationToken
View Source

Transcoder

Declaration
public ITypeTranscoder? Transcoder { get; init; }
Property Value
Type Description
ITypeTranscoder

Methods

View Source

Deconstruct(out bool, out ReadOnlyCollection<string>, out TimeSpan?, out CancellationToken, out ITypeTranscoder?, out TimeSpan?, out IRetryStrategy?, out IRequestSpan?, out bool)

Declaration
public void Deconstruct(out bool IncludeExpiry, out ReadOnlyCollection<string> ProjectList, out TimeSpan? Timeout, out CancellationToken Token, out ITypeTranscoder? Transcoder, out TimeSpan? TimeSpan, out IRetryStrategy? RetryStrategy, out IRequestSpan? RequestSpan, out bool PreferReturn)
Parameters
Type Name Description
bool IncludeExpiry
ReadOnlyCollection<string> ProjectList
TimeSpan? Timeout
CancellationToken Token
ITypeTranscoder Transcoder
TimeSpan? TimeSpan
IRetryStrategy RetryStrategy
IRequestSpan RequestSpan
bool PreferReturn
View Source

Equals(ReadOnly?)

Declaration
public virtual bool Equals(GetOptions.ReadOnly? other)
Parameters
Type Name Description
GetOptions.ReadOnly 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

ToString()

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

Operators

View Source

operator ==(ReadOnly?, ReadOnly?)

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

operator !=(ReadOnly?, ReadOnly?)

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

Implements

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