C# Class NServiceBus.Routing.EndpointInstances

Stores the information about instances of known endpoints.
Show file Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
AddOrReplaceInstances ( string sourceKey, IList endpointInstances ) : void

Adds or replaces a set of endpoint instances registered under a given key (registration source ID).

FindInstances ( string endpoint ) : IEnumerable

Returns all known EndpointInstance for a given logical endpoint.

Private Methods

Method Description
DefaultInstance ( string endpoint ) : IEnumerable

Method Details

AddOrReplaceInstances() public method

Adds or replaces a set of endpoint instances registered under a given key (registration source ID).
public AddOrReplaceInstances ( string sourceKey, IList endpointInstances ) : void
sourceKey string Source key.
endpointInstances IList List of endpoint instances known by this source.
return void

FindInstances() public method

Returns all known EndpointInstance for a given logical endpoint.
public FindInstances ( string endpoint ) : IEnumerable
endpoint string The logical endpoint name.
return IEnumerable