C# Класс NServiceBus.LogicalAddress

Represents a logical address (independent of transport).
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateIndividualizedAddress ( string discriminator ) : LogicalAddress

Creates a new individualized logical address with the specified discriminator.

CreateLocalAddress ( string queueName, string>.IReadOnlyDictionary properties ) : LogicalAddress

Creates a logical address for this endpoint.

CreateQualifiedAddress ( string qualifier ) : LogicalAddress

Creates a new logical address with the given qualifier.

CreateRemoteAddress ( EndpointInstance endpointInstance ) : LogicalAddress

Creates a logical address for a remote endpoint.

Equals ( object obj ) : bool

Determines whether the specified object is equal to the current object.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

ToString ( ) : string

Returns a string that represents the current object.

operator ( ) : bool

Checks for equality.

Приватные методы

Метод Описание
Equals ( LogicalAddress other ) : bool
LogicalAddress ( EndpointInstance endpointInstance, string qualifier ) : System

Описание методов

CreateIndividualizedAddress() публичный Метод

Creates a new individualized logical address with the specified discriminator.
public CreateIndividualizedAddress ( string discriminator ) : LogicalAddress
discriminator string The discriminator value used to individualize the address.
Результат LogicalAddress

CreateLocalAddress() публичный статический Метод

Creates a logical address for this endpoint.
public static CreateLocalAddress ( string queueName, string>.IReadOnlyDictionary properties ) : LogicalAddress
queueName string The name of the main input queue.
properties string>.IReadOnlyDictionary The additional transport-specific properties.
Результат LogicalAddress

CreateQualifiedAddress() публичный Метод

Creates a new logical address with the given qualifier.
public CreateQualifiedAddress ( string qualifier ) : LogicalAddress
qualifier string The qualifier for the new address.
Результат LogicalAddress

CreateRemoteAddress() публичный статический Метод

Creates a logical address for a remote endpoint.
public static CreateRemoteAddress ( EndpointInstance endpointInstance ) : LogicalAddress
endpointInstance EndpointInstance The endpoint instance that describes the remote endpoint.
Результат LogicalAddress

Equals() публичный Метод

Determines whether the specified object is equal to the current object.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
Результат bool

GetHashCode() публичный Метод

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int

ToString() публичный Метод

Returns a string that represents the current object.
public ToString ( ) : string
Результат string

operator() публичный статический Метод

Checks for equality.
public static operator ( ) : bool
Результат bool