Table of Contents

Class ProducerEndpoint

Namespace
Silverback.Messaging
Assembly
Silverback.Integration.dll

The endpoint (e.g. the topic) where the message must be produced to.

public abstract record ProducerEndpoint : Endpoint, IEquatable<Endpoint>, IEquatable<ProducerEndpoint>
Inheritance
ProducerEndpoint
Implements
Derived
Inherited Members

Constructors

ProducerEndpoint(ProducerEndpoint)

protected ProducerEndpoint(ProducerEndpoint original)

Parameters

original ProducerEndpoint

ProducerEndpoint(string, ProducerEndpointConfiguration)

Initializes a new instance of the ProducerEndpoint class.

protected ProducerEndpoint(string rawName, ProducerEndpointConfiguration configuration)

Parameters

rawName string

The endpoint name.

configuration ProducerEndpointConfiguration

The endpoint configuration.

Properties

Configuration

Gets the producer endpoint configuration.

public ProducerEndpointConfiguration Configuration { get; }

Property Value

ProducerEndpointConfiguration

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(Endpoint?)

public override sealed bool Equals(Endpoint? other)

Parameters

other Endpoint

Returns

bool

Equals(ProducerEndpoint?)

public virtual bool Equals(ProducerEndpoint? other)

Parameters

other ProducerEndpoint

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 ==(ProducerEndpoint?, ProducerEndpoint?)

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

Parameters

left ProducerEndpoint
right ProducerEndpoint

Returns

bool

operator !=(ProducerEndpoint?, ProducerEndpoint?)

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

Parameters

left ProducerEndpoint
right ProducerEndpoint

Returns

bool