Table of Contents

Class ConsumerConfigBuilderExtensions

Namespace
MASES.KNet.Extensions
Assembly
MASES.KNet.dll

Extension for ConsumerConfigBuilder

public static class ConsumerConfigBuilderExtensions
Inheritance
ConsumerConfigBuilderExtensions
Inherited Members

Methods

CanApplyBasicDeserializer<T>(ConsumerConfigBuilder)

Test if T can use basic serializer

public static bool CanApplyBasicDeserializer<T>(this ConsumerConfigBuilder builder)

Parameters

builder ConsumerConfigBuilder

The ConsumerConfigBuilder

Returns

bool

true if T can use basic serializer

Type Parameters

T

The type to test

WithKeyDeserializerClass(ConsumerConfigBuilder, Type)

Apply key serializer

public static ConsumerConfigBuilder WithKeyDeserializerClass(this ConsumerConfigBuilder builder, Type type)

Parameters

builder ConsumerConfigBuilder

The ConsumerConfigBuilder

type Type

The Type to serialize

Returns

ConsumerConfigBuilder

The updated ConsumerConfigBuilder

WithKeyDeserializerClass<T>(ConsumerConfigBuilder)

Apply key serializer

public static ConsumerConfigBuilder WithKeyDeserializerClass<T>(this ConsumerConfigBuilder builder)

Parameters

builder ConsumerConfigBuilder

The ConsumerConfigBuilder

Returns

ConsumerConfigBuilder

The updated ConsumerConfigBuilder

Type Parameters

T

The type to serialize

WithValueDeserializerClass(ConsumerConfigBuilder, Type)

Apply value serializer

public static ConsumerConfigBuilder WithValueDeserializerClass(this ConsumerConfigBuilder builder, Type type)

Parameters

builder ConsumerConfigBuilder

The ConsumerConfigBuilder

type Type

The Type to serialize

Returns

ConsumerConfigBuilder

The updated ConsumerConfigBuilder

WithValueDeserializerClass<T>(ConsumerConfigBuilder)

Apply value serializer

public static ConsumerConfigBuilder WithValueDeserializerClass<T>(this ConsumerConfigBuilder builder)

Parameters

builder ConsumerConfigBuilder

The ConsumerConfigBuilder

Returns

ConsumerConfigBuilder

The updated ConsumerConfigBuilder

Type Parameters

T

The type to serialize