Table of Contents

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

original ConsumerEndpoint

ConsumerEndpoint(string, ConsumerEndpointConfiguration)

Initializes a new instance of the ConsumerEndpoint class.

protected ConsumerEndpoint(string rawName, ConsumerEndpointConfiguration configuration)

Parameters

rawName string

The endpoint name.

configuration ConsumerEndpointConfiguration

The endpoint configuration.

Properties

Configuration

Gets the consumer endpoint configuration.

public ConsumerEndpointConfiguration Configuration { get; }

Property Value

ConsumerEndpointConfiguration

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(ConsumerEndpoint?)

public virtual bool Equals(ConsumerEndpoint? other)

Parameters

other ConsumerEndpoint

Returns

bool

Equals(Endpoint?)

public override sealed bool Equals(Endpoint? other)

Parameters

other Endpoint

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ConsumerEndpoint?, ConsumerEndpoint?)

public static bool operator ==(ConsumerEndpoint? left, ConsumerEndpoint? right)

Parameters

left ConsumerEndpoint
right ConsumerEndpoint

Returns

bool

operator !=(ConsumerEndpoint?, ConsumerEndpoint?)

public static bool operator !=(ConsumerEndpoint? left, ConsumerEndpoint? right)

Parameters

left ConsumerEndpoint
right ConsumerEndpoint

Returns

bool