Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Interface IProjectableTypeDeserializer

Extends ITypeSerializer with methods for parsing projections from key/value responses. If not present, calling ContentAs<T>() for a LookupIn sub-document operation or for a get operation with projections will fallback to using DefaultSerializer.

Inherited Members
ITypeSerializer.Deserialize<T>(ReadOnlyMemory<byte>)
ITypeSerializer.Deserialize<T>(Stream)
ITypeSerializer.DeserializeAsync<T>(Stream, CancellationToken)
ITypeSerializer.Serialize(Stream, object)
ITypeSerializer.SerializeAsync(Stream, object, CancellationToken)
ITypeSerializer.Serialize<T>(Stream, T)
ITypeSerializer.SerializeAsync<T>(Stream, T, CancellationToken)
Namespace: Couchbase.Core.IO.Serializers
Assembly: Couchbase.NetClient.dll
Syntax
public interface IProjectableTypeDeserializer : ITypeSerializer

Methods

View Source

CreateProjectionBuilder(ILogger)

Create a new IProjectionBuilder based on this serializer.

Declaration
IProjectionBuilder CreateProjectionBuilder(ILogger logger)
Parameters
Type Name Description
ILogger logger

Logger for logging warnings or errors.

Returns
Type Description
IProjectionBuilder

A new IProjectionBuilder.

Extension Methods

TypeSerializerExtensions.Deserialize<T>(ITypeSerializer, byte[], int, int)
TypeSerializerExtensions.Serialize(ITypeSerializer, object?)
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.