Class ConfigResource
A class representing resources that have configs.
Inheritance
Inherited Members
Namespace: Confluent.Kafka.Admin
Assembly: cs.temp.dll.dll
Syntax
public class ConfigResource
Properties
Name
The resource name (required)
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
The resource type (required)
Declaration
public ResourceType Type { get; set; }
Property Value
Type | Description |
---|---|
ResourceType |
Methods
Equals(Object)
Tests whether this ConfigResource instance is equal to the specified object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to test. |
Returns
Type | Description |
---|---|
System.Boolean | true if obj is a ConfigResource and all properties are equal. false otherwise. |
Overrides
GetHashCode()
Returns a hash code for this ConfigResource.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | An integer that specifies a hash value for this ConfigResource. |
Overrides
ToString()
Returns a string representation of the ConfigResource object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string representation of the ConfigResource object. |
Overrides
Operators
Equality(ConfigResource, ConfigResource)
Tests whether ConfigResource instance a is equal to ConfigResource instance b.
Declaration
public static bool operator ==(ConfigResource a, ConfigResource b)
Parameters
Type | Name | Description |
---|---|---|
ConfigResource | a | The first ConfigResource instance to compare. |
ConfigResource | b | The second ConfigResource instance to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if ConfigResource instances a and b are equal. false otherwise. |
Inequality(ConfigResource, ConfigResource)
Tests whether ConfigResource instance a is not equal to ConfigResource instance b.
Declaration
public static bool operator !=(ConfigResource a, ConfigResource b)
Parameters
Type | Name | Description |
---|---|---|
ConfigResource | a | The first ConfigResource instance to compare. |
ConfigResource | b | The second ConfigResource instance to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if ConfigResource instances a and b are not equal. false otherwise. |