We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 338d911 commit 95ec2c7Copy full SHA for 95ec2c7
1 file changed
src/BuildingBlocks/EventBus/EventBus/Abstractions/IEventBus.cs
@@ -5,9 +5,12 @@ namespace Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Abstractions
5
{
6
public interface IEventBus
7
8
+ void Publish(IntegrationEvent @event);
9
+
10
void Subscribe<T, TH>()
11
where T : IntegrationEvent
12
where TH : IIntegrationEventHandler<T>;
13
14
void SubscribeDynamic<TH>(string eventName)
15
where TH : IDynamicIntegrationEventHandler;
16
@@ -17,7 +20,5 @@ void UnsubscribeDynamic<TH>(string eventName)
17
20
void Unsubscribe<T, TH>()
18
21
where TH : IIntegrationEventHandler<T>
19
22
where T : IntegrationEvent;
-
- void Publish(IntegrationEvent @event);
23
}
24
0 commit comments