Show / Hide Table of Contents

    Class Endpoint

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Inheritance
    object
    Endpoint
    ConsumerEndpoint
    ProducerEndpoint
    Implements
    IEquatable<Endpoint>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Silverback.Messaging
    Assembly: Silverback.Integration.dll
    Syntax
    public abstract record Endpoint : IEquatable<Endpoint>

    Constructors

    Endpoint(Endpoint)

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Declaration
    protected Endpoint(Endpoint original)
    Parameters
    Type Name Description
    Endpoint original

    Endpoint(string, EndpointConfiguration)

    Initializes a new instance of the Endpoint class.

    Declaration
    protected Endpoint(string rawName, EndpointConfiguration configuration)
    Parameters
    Type Name Description
    string rawName

    The endpoint name.

    EndpointConfiguration configuration

    The endpoint configuration.

    Properties

    Configuration

    Gets the endpoint configuration.

    Declaration
    public EndpointConfiguration Configuration { get; }
    Property Value
    Type Description
    EndpointConfiguration

    DisplayName

    Gets the name to be displayed in the human-targeted output (e.g. logs, health checks result, etc.).

    Declaration
    public string DisplayName { get; }
    Property Value
    Type Description
    string

    EqualityContract

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Declaration
    protected virtual Type EqualityContract { get; }
    Property Value
    Type Description
    Type

    RawName

    Gets the endpoint name (e.g. the topic name).

    Declaration
    public string RawName { get; }
    Property Value
    Type Description
    string

    Methods

    Equals(Endpoint?)

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Declaration
    public virtual bool Equals(Endpoint? other)
    Parameters
    Type Name Description
    Endpoint other
    Returns
    Type Description
    bool

    Equals(object?)

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    GetHashCode()

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    PrintMembers(StringBuilder)

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Declaration
    protected virtual bool PrintMembers(StringBuilder builder)
    Parameters
    Type Name Description
    StringBuilder builder
    Returns
    Type Description
    bool

    ToString()

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Operators

    operator ==(Endpoint?, Endpoint?)

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Declaration
    public static bool operator ==(Endpoint? left, Endpoint? right)
    Parameters
    Type Name Description
    Endpoint left
    Endpoint right
    Returns
    Type Description
    bool

    operator !=(Endpoint?, Endpoint?)

    The base class for ProducerEndpoint and ConsumerEndpoint.

    Declaration
    public static bool operator !=(Endpoint? left, Endpoint? right)
    Parameters
    Type Name Description
    Endpoint left
    Endpoint right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini