C# Class NServiceBus.Routing.MessageDrivenSubscriptions.Publishers

Manages the information about publishers.
Show file Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
AddOrReplacePublishers ( string sourceKey, IList entries ) : void

Adds or replaces a set of publisher registrations. The registration set is identified . If the method is called the first time with a given , the registrations are added. If the method is called with the same multiple times, the publishers registered previously under this key are replaced.

Private Methods

Method Description
GetPublisherFor ( Type eventType ) : IEnumerable

Method Details

AddOrReplacePublishers() public method

Adds or replaces a set of publisher registrations. The registration set is identified . If the method is called the first time with a given , the registrations are added. If the method is called with the same multiple times, the publishers registered previously under this key are replaced.
public AddOrReplacePublishers ( string sourceKey, IList entries ) : void
sourceKey string Key for this registration source.
entries IList Entries.
return void