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
Returns
Type Parameters
T
The type to test
WithKeySerializerClass(ProducerConfigBuilder, Type)
Apply key serializer
public static ProducerConfigBuilder WithKeySerializerClass(this ProducerConfigBuilder builder, Type type)
Parameters
builder
ProducerConfigBuildertype
TypeThe 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
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
ProducerConfigBuildertype
TypeThe 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
Returns
- ProducerConfigBuilder
The updated ProducerConfigBuilder
Type Parameters
T
The type to serialize