Table of Contents

Class ProducerConfigBuilderExtensions

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

Extensions for ProducerConfigBuilder

public static class ProducerConfigBuilderExtensions
Inheritance
ProducerConfigBuilderExtensions
Inherited Members

Methods

CanApplyBasicSerializer<T>(ProducerConfigBuilder)

Test if T can use basic serializer

public static bool CanApplyBasicSerializer<T>(this ProducerConfigBuilder builder)

Parameters

builder ProducerConfigBuilder

The ProducerConfigBuilder

Returns

bool

true if T can use basic serializer

Type Parameters

T

The type to test

WithKeySerializerClass(ProducerConfigBuilder, Type)

Apply key serializer

public static ProducerConfigBuilder WithKeySerializerClass(this ProducerConfigBuilder builder, Type type)

Parameters

builder ProducerConfigBuilder

The ProducerConfigBuilder

type Type

The Type to serialize

Returns

ProducerConfigBuilder

The updated ProducerConfigBuilder

WithKeySerializerClass<T>(ProducerConfigBuilder)

Apply key serializer

public static ProducerConfigBuilder WithKeySerializerClass<T>(this ProducerConfigBuilder builder)

Parameters

builder ProducerConfigBuilder

The ProducerConfigBuilder

Returns

ProducerConfigBuilder

The updated ProducerConfigBuilder

Type Parameters

T

The type to serialize

WithValueSerializerClass(ProducerConfigBuilder, Type)

Apply value serializer

public static ProducerConfigBuilder WithValueSerializerClass(this ProducerConfigBuilder builder, Type type)

Parameters

builder ProducerConfigBuilder

The ProducerConfigBuilder

type Type

The Type to serialize

Returns

ProducerConfigBuilder

The updated ProducerConfigBuilder

WithValueSerializerClass<T>(ProducerConfigBuilder)

Apply value serializer

public static ProducerConfigBuilder WithValueSerializerClass<T>(this ProducerConfigBuilder builder)

Parameters

builder ProducerConfigBuilder

The ProducerConfigBuilder

Returns

ProducerConfigBuilder

The updated ProducerConfigBuilder

Type Parameters

T

The type to serialize