Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class MutateInResult

    Inheritance
    object
    MutateInResult
    Implements
    IMutateInResult
    IMutationResult
    IResult
    IDisposable
    ITypeSerializerProvider
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    | Edit this page 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
    | Edit this page 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

    | Edit this page View Source

    Cas

    Declaration
    public ulong Cas { get; }
    Property Value
    Type Description
    ulong
    | Edit this page View Source

    MutationToken

    Declaration
    public MutationToken MutationToken { get; set; }
    Property Value
    Type Description
    MutationToken
    | Edit this page View Source

    Serializer

    Gets the ITypeSerializer related to the object.

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

    Methods

    | Edit this page 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

    | Edit this page View Source

    Dispose()

    Declaration
    public void Dispose()
    | Edit this page 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
    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.