Class ProducerEndpoint<TConfiguration>
The endpoint (e.g. the topic) where the message must be produced to.
Inheritance
ProducerEndpoint<TConfiguration>
Assembly: Silverback.Integration.dll
Syntax
public abstract record ProducerEndpoint<TConfiguration> : ProducerEndpoint, IEquatable<Endpoint>, IEquatable<ProducerEndpoint>, IEquatable<ProducerEndpoint<TConfiguration>> where TConfiguration : ProducerEndpointConfiguration
Type Parameters
| Name |
Description |
| TConfiguration |
|
Constructors
ProducerEndpoint(ProducerEndpoint<TConfiguration>)
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
protected ProducerEndpoint(ProducerEndpoint<TConfiguration> original)
Parameters
ProducerEndpoint(string, TConfiguration)
Declaration
protected ProducerEndpoint(string rawName, TConfiguration configuration)
Parameters
| Type |
Name |
Description |
| string |
rawName |
The endpoint name.
|
| TConfiguration |
configuration |
The endpoint configuration.
|
Properties
Configuration
Gets the producer endpoint configuration.
Declaration
public TConfiguration Configuration { get; }
Property Value
| Type |
Description |
| TConfiguration |
|
EqualityContract
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
protected override Type EqualityContract { get; }
Property Value
Overrides
Methods
Equals(ProducerEndpoint?)
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
public override sealed bool Equals(ProducerEndpoint? other)
Parameters
Returns
Overrides
Equals(ProducerEndpoint<TConfiguration>?)
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
public virtual bool Equals(ProducerEndpoint<TConfiguration>? other)
Parameters
Returns
Equals(object?)
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
protected override bool PrintMembers(StringBuilder builder)
Parameters
Returns
Overrides
ToString()
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(ProducerEndpoint<TConfiguration>?, ProducerEndpoint<TConfiguration>?)
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
public static bool operator ==(ProducerEndpoint<TConfiguration>? left, ProducerEndpoint<TConfiguration>? right)
Parameters
Returns
operator !=(ProducerEndpoint<TConfiguration>?, ProducerEndpoint<TConfiguration>?)
The endpoint (e.g. the topic) where the message must be produced to.
Declaration
public static bool operator !=(ProducerEndpoint<TConfiguration>? left, ProducerEndpoint<TConfiguration>? right)
Parameters
Returns
Implements