File tree Expand file tree Collapse file tree
src/BuildingBlocks/EventBus Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using Microsoft . eShopOnContainers . BuildingBlocks . EventBus . Events ;
2- using System ;
3- using System . Collections . Generic ;
4- using System . Text ;
52
63namespace Microsoft . eShopOnContainers . BuildingBlocks . EventBus . Abstractions
74{
Original file line number Diff line number Diff line change 11using Microsoft . eShopOnContainers . BuildingBlocks . EventBus . Events ;
2- using System ;
3- using System . Collections . Generic ;
4- using System . Text ;
52using System . Threading . Tasks ;
63
74namespace Microsoft . eShopOnContainers . BuildingBlocks . EventBus . Abstractions
Original file line number Diff line number Diff line change 11using System ;
2- using System . Collections . Generic ;
3- using System . Text ;
42
53namespace Microsoft . eShopOnContainers . BuildingBlocks . EventBus . Events
64{
Original file line number Diff line number Diff line change 55using RabbitMQ . Client ;
66using RabbitMQ . Client . Events ;
77using System ;
8- using System . Collections ;
98using System . Collections . Generic ;
109using System . Linq ;
1110using System . Reflection ;
@@ -35,7 +34,9 @@ public EventBusRabbitMQ(string connectionString)
3534
3635 public void Publish ( IntegrationEvent @event )
3736 {
38- var eventName = @event . GetType ( ) . Name ;
37+ var eventName = @event . GetType ( )
38+ . Name ;
39+
3940 var factory = new ConnectionFactory ( ) { HostName = _connectionString } ;
4041 using ( var connection = factory . CreateConnection ( ) )
4142 using ( var channel = connection . CreateModel ( ) )
You can’t perform that action at this time.
0 commit comments