C# Class NServiceBus.LogicalAddress

Represents a logical address (independent of transport).
Afficher le fichier Open project: Particular/NServiceBus Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
Equals ( LogicalAddress other ) : bool
LogicalAddress ( EndpointInstance endpointInstance, string qualifier ) : System

Method Details

CreateIndividualizedAddress() public méthode

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.
Résultat LogicalAddress

CreateLocalAddress() public static méthode

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.
Résultat LogicalAddress

CreateQualifiedAddress() public méthode

Creates a new logical address with the given qualifier.
public CreateQualifiedAddress ( string qualifier ) : LogicalAddress
qualifier string The qualifier for the new address.
Résultat LogicalAddress

CreateRemoteAddress() public static méthode

Creates a logical address for a remote endpoint.
public static CreateRemoteAddress ( EndpointInstance endpointInstance ) : LogicalAddress
endpointInstance EndpointInstance The endpoint instance that describes the remote endpoint.
Résultat LogicalAddress

Equals() public méthode

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.
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Returns a string that represents the current object.
public ToString ( ) : string
Résultat string

operator() public static méthode

Checks for equality.
public static operator ( ) : bool
Résultat bool