diff --git a/src/Services/Basket/Basket.API/IntegrationEvents/Events/OrderStartedIntegrationEvent.cs b/src/Services/Basket/Basket.API/IntegrationEvents/Events/OrderStartedIntegrationEvent.cs index 06954890e..f6f3b0380 100644 --- a/src/Services/Basket/Basket.API/IntegrationEvents/Events/OrderStartedIntegrationEvent.cs +++ b/src/Services/Basket/Basket.API/IntegrationEvents/Events/OrderStartedIntegrationEvent.cs @@ -1,8 +1,8 @@ namespace Basket.API.IntegrationEvents.Events; -// Integration Events notes: -// An Event is "something that has happened in the past", therefore its name has to be -// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems. +// Integration Events notes: +// An Event is "something that has happened in the past", therefore its name has to be +// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems. public record OrderStartedIntegrationEvent : IntegrationEvent { public string UserId { get; init; } @@ -10,4 +10,3 @@ public record OrderStartedIntegrationEvent : IntegrationEvent public OrderStartedIntegrationEvent(string userId) => UserId = userId; } - diff --git a/src/Services/Basket/Basket.API/IntegrationEvents/Events/ProductPriceChangedIntegrationEvent.cs b/src/Services/Basket/Basket.API/IntegrationEvents/Events/ProductPriceChangedIntegrationEvent.cs index 342bb46f7..9db9fe90b 100644 --- a/src/Services/Basket/Basket.API/IntegrationEvents/Events/ProductPriceChangedIntegrationEvent.cs +++ b/src/Services/Basket/Basket.API/IntegrationEvents/Events/ProductPriceChangedIntegrationEvent.cs @@ -1,13 +1,10 @@ namespace Microsoft.eShopOnContainers.Services.Basket.API.IntegrationEvents.Events; -// Integration Events notes: -// An Event is "something that has happened in the past", therefore its name has to be -// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems. +// Integration Events notes: +// An Event is "something that has happened in the past", therefore its name has to be +// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems. public record ProductPriceChangedIntegrationEvent : IntegrationEvent { - // Integration Events notes: - // An Event is “something that has happened in the past”, therefore its name has to be past tense - // An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems. public int ProductId { get; private init; } public decimal NewPrice { get; private init; } @@ -21,4 +18,3 @@ public record ProductPriceChangedIntegrationEvent : IntegrationEvent OldPrice = oldPrice; } } - diff --git a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/Events/OrderStartedIntegrationEvent.cs b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/Events/OrderStartedIntegrationEvent.cs index 11077d581..0741b89e5 100644 --- a/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/Events/OrderStartedIntegrationEvent.cs +++ b/src/Services/Ordering/Ordering.API/Application/IntegrationEvents/Events/OrderStartedIntegrationEvent.cs @@ -1,8 +1,8 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.IntegrationEvents.Events; -// Integration Events notes: -// An Event is “something that has happened in the past”, therefore its name has to be -// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems. +// Integration Events notes: +// An Event is “something that has happened in the past”, therefore its name has to be +// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems. public record OrderStartedIntegrationEvent : IntegrationEvent { public string UserId { get; init; }