Skip to content

Commit 346bab2

Browse files
authored
docs: Fix typo in comments (dotnet-architecture#1796)
1 parent 9e5cd83 commit 346bab2

3 files changed

Lines changed: 9 additions & 14 deletions

File tree

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
namespace Basket.API.IntegrationEvents.Events;
22

3-
// Integration Events notes:
4-
// An Event is "something that has happened in the past", therefore its name has to be
5-
// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems.
3+
// Integration Events notes:
4+
// An Event is "something that has happened in the past", therefore its name has to be
5+
// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems.
66
public record OrderStartedIntegrationEvent : IntegrationEvent
77
{
88
public string UserId { get; init; }
99

1010
public OrderStartedIntegrationEvent(string userId)
1111
=> UserId = userId;
1212
}
13-
Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
namespace Microsoft.eShopOnContainers.Services.Basket.API.IntegrationEvents.Events;
22

3-
// Integration Events notes:
4-
// An Event is "something that has happened in the past", therefore its name has to be
5-
// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems.
3+
// Integration Events notes:
4+
// An Event is "something that has happened in the past", therefore its name has to be
5+
// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems.
66
public record ProductPriceChangedIntegrationEvent : IntegrationEvent
77
{
8-
// Integration Events notes:
9-
// An Event is “something that has happened in the past”, therefore its name has to be past tense
10-
// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems.
118
public int ProductId { get; private init; }
129

1310
public decimal NewPrice { get; private init; }
@@ -21,4 +18,3 @@ public ProductPriceChangedIntegrationEvent(int productId, decimal newPrice, deci
2118
OldPrice = oldPrice;
2219
}
2320
}
24-

src/Services/Ordering/Ordering.API/Application/IntegrationEvents/Events/OrderStartedIntegrationEvent.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.IntegrationEvents.Events;
22

3-
// Integration Events notes:
4-
// An Event is “something that has happened in the past”, therefore its name has to be
5-
// An Integration Event is an event that can cause side effects to other microsrvices, Bounded-Contexts or external systems.
3+
// Integration Events notes:
4+
// An Event is “something that has happened in the past”, therefore its name has to be
5+
// An Integration Event is an event that can cause side effects to other microservices, Bounded-Contexts or external systems.
66
public record OrderStartedIntegrationEvent : IntegrationEvent
77
{
88
public string UserId { get; init; }

0 commit comments

Comments
 (0)