Class ConsumerEndpoint
- Namespace
- Silverback.Messaging
- Assembly
- Silverback.Integration.dll
The endpoint (e.g. the topic) from which the message was consumed.
public abstract record ConsumerEndpoint : Endpoint, IEquatable<Endpoint>, IEquatable<ConsumerEndpoint>
- Inheritance
-
ConsumerEndpoint
- Implements
- Derived
- Inherited Members
Constructors
ConsumerEndpoint(ConsumerEndpoint)
protected ConsumerEndpoint(ConsumerEndpoint original)
Parameters
originalConsumerEndpoint
ConsumerEndpoint(string, ConsumerEndpointConfiguration)
Initializes a new instance of the ConsumerEndpoint class.
protected ConsumerEndpoint(string rawName, ConsumerEndpointConfiguration configuration)
Parameters
rawNamestringThe endpoint name.
configurationConsumerEndpointConfigurationThe endpoint configuration.
Properties
Configuration
Gets the consumer endpoint configuration.
public ConsumerEndpointConfiguration Configuration { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Equals(ConsumerEndpoint?)
public virtual bool Equals(ConsumerEndpoint? other)
Parameters
otherConsumerEndpoint
Returns
Equals(Endpoint?)
public override sealed bool Equals(Endpoint? other)
Parameters
otherEndpoint
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ConsumerEndpoint?, ConsumerEndpoint?)
public static bool operator ==(ConsumerEndpoint? left, ConsumerEndpoint? right)
Parameters
leftConsumerEndpointrightConsumerEndpoint
Returns
operator !=(ConsumerEndpoint?, ConsumerEndpoint?)
public static bool operator !=(ConsumerEndpoint? left, ConsumerEndpoint? right)
Parameters
leftConsumerEndpointrightConsumerEndpoint