confluent-kafka-dotnet
Show / Hide Table of Contents

Class SubjectNameStrategyExtensions

Extension methods for the SubjectNameStrategy type.

Inheritance
object
SubjectNameStrategyExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public static class SubjectNameStrategyExtensions

Methods

ConstructKeySubjectName(SubjectNameStrategy, string, string)

Helper method to construct the key subject name given the specified parameters.

Declaration
public static string ConstructKeySubjectName(this SubjectNameStrategy strategy, string topic, string recordType = null)
Parameters
Type Name Description
SubjectNameStrategy strategy
string topic
string recordType
Returns
Type Description
string

ConstructValueSubjectName(SubjectNameStrategy, string, string)

Helper method to construct the value subject name given the specified parameters.

Declaration
public static string ConstructValueSubjectName(this SubjectNameStrategy strategy, string topic, string recordType = null)
Parameters
Type Name Description
SubjectNameStrategy strategy
string topic
string recordType
Returns
Type Description
string

ToDelegate(SubjectNameStrategy)

Provide a functional implementation corresponding to the enum value.

Declaration
public static SubjectNameStrategyDelegate ToDelegate(this SubjectNameStrategy strategy)
Parameters
Type Name Description
SubjectNameStrategy strategy
Returns
Type Description
SubjectNameStrategyDelegate
In this article