Class MutateInResult
Inheritance
MutateInResult
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
|
Edit this page
View Source
MutateInResult(IList<MutateInSpec>, ulong, MutationToken?, ITypeSerializer)
Declaration
public MutateInResult(IList<MutateInSpec> specs, ulong cas, MutationToken? token, ITypeSerializer serializer)
Parameters
Properties
|
Edit this page
View Source
Cas
Declaration
public ulong Cas { get; }
Property Value
|
Edit this page
View Source
MutationToken
Declaration
public MutationToken MutationToken { get; set; }
Property Value
|
Edit this page
View Source
Serializer
Declaration
public ITypeSerializer Serializer { get; }
Property Value
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
|
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