Class SerdeConfig
Base functionality common to all configuration classes.
Inheritance
SerdeConfig
Inherited Members
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class SerdeConfig : Config, IEnumerable<KeyValuePair<string, string>>, IEnumerable
Constructors
SerdeConfig()
Initialize a new empty SerdeConfig instance.
Declaration
public SerdeConfig()
SerdeConfig(SerdeConfig)
Initialize a new SerdeConfig instance based on an existing SerdeConfig instance. This will change the values "in-place" i.e. operations on this class WILL modify the provided collection
Declaration
public SerdeConfig(SerdeConfig config)
Parameters
Type | Name | Description |
---|---|---|
SerdeConfig | config |
SerdeConfig(IDictionary<string, string>)
Initialize a new SerdeConfig wrapping an existing key/value dictionary. This will change the values "in-place" i.e. operations on this class WILL modify the provided collection
Declaration
public SerdeConfig(IDictionary<string, string> config)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<string, string> | config |
Methods
GetDictionaryProperty(string)
Gets a configuration property as a dictionary value given a key.
Declaration
protected IDictionary<string, string> GetDictionaryProperty(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key | The configuration property to get. |
Returns
Type | Description |
---|---|
IDictionary<string, string> | The configuration property value. |
SetDictionaryProperty(string, IDictionary<string, string>)
Set a configuration property as a dictionary value
Declaration
protected void SetDictionaryProperty(string key, IDictionary<string, string> value)
Parameters
Type | Name | Description |
---|---|---|
string | key | The configuration property name. |
IDictionary<string, string> | value |