Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class MutateInResult

Inheritance
object
MutateInResult
Implements
IMutateInResult
IMutationResult
IResult
IDisposable
ITypeSerializerProvider
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.KeyValue
Assembly: Couchbase.NetClient.dll
Syntax
[Obsolete("This class will be made internal in a future release.")]
public class MutateInResult : IMutateInResult, IMutationResult, IResult, IDisposable, ITypeSerializerProvider

Constructors

View Source

MutateInResult(IList<OperationSpec>, ulong, MutationToken?, ITypeSerializer)

Declaration
public MutateInResult(IList<OperationSpec> specs, ulong cas, MutationToken? token, ITypeSerializer serializer)
Parameters
Type Name Description
IList<OperationSpec> specs
ulong cas
MutationToken token
ITypeSerializer serializer
View Source

MutateInResult(IList<MutateInSpec>, ulong, MutationToken?, ITypeSerializer)

Declaration
public MutateInResult(IList<MutateInSpec> specs, ulong cas, MutationToken? token, ITypeSerializer serializer)
Parameters
Type Name Description
IList<MutateInSpec> specs
ulong cas
MutationToken token
ITypeSerializer serializer

Properties

View Source

Cas

Declaration
public ulong Cas { get; }
Property Value
Type Description
ulong
View Source

MutationToken

Declaration
public MutationToken MutationToken { get; set; }
Property Value
Type Description
MutationToken
View Source

Serializer

Gets the ITypeSerializer related to the object.

Declaration
public ITypeSerializer Serializer { get; }
Property Value
Type Description
ITypeSerializer

Methods

View Source

ContentAs<T>(int)

Gets the content of a mutation as the specified type.

Declaration
public T? ContentAs<T>(int index)
Parameters
Type Name Description
int index

The spec index.

Returns
Type Description
T

The content, if the operation was an Increment or Decrement, otherwise default(T).

Type Parameters
Name Description
T

The type of the content

View Source

Dispose()

Declaration
public void Dispose()
View Source

IndexOf(string)

Returns the index of a particular path.

Declaration
[InterfaceStability(Level.Volatile)]
public int IndexOf(string path)
Parameters
Type Name Description
string path

Path to find.

Returns
Type Description
int

The index of the path, or -1 if not found.

Implements

IMutateInResult
IMutationResult
IResult
IDisposable
ITypeSerializerProvider
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.