-
-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94b9fca
commit 7dc4043
Showing
13 changed files
with
94 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
156 changes: 0 additions & 156 deletions
156
...hitecture/03-BusinessProcesses/Version2-ImmutableEntities/GroupCheckouts/GroupCheckout.cs
This file was deleted.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
...ure/03-BusinessProcesses/Version2-ImmutableEntities/GroupCheckouts/GroupCheckoutEvents.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using BusinessProcesses.Version2_ImmutableEntities.Core; | ||
|
||
namespace BusinessProcesses.Version2_ImmutableEntities.GroupCheckouts; | ||
|
||
using static GroupCheckoutEvent; | ||
|
||
public abstract record GroupCheckoutEvent | ||
{ | ||
public record GroupCheckoutInitiated( | ||
Guid GroupCheckoutId, | ||
Guid ClerkId, | ||
Guid[] GuestStayIds, | ||
DateTimeOffset InitiatedAt | ||
): GroupCheckoutEvent; | ||
|
||
public record GuestCheckoutCompleted( | ||
Guid GroupCheckoutId, | ||
Guid GuestStayId, | ||
DateTimeOffset CompletedAt | ||
): GroupCheckoutEvent; | ||
|
||
public record GuestCheckoutFailed( | ||
Guid GroupCheckoutId, | ||
Guid GuestStayId, | ||
DateTimeOffset FailedAt | ||
): GroupCheckoutEvent; | ||
|
||
public record GroupCheckoutCompleted( | ||
Guid GroupCheckoutId, | ||
Guid[] CompletedCheckouts, | ||
DateTimeOffset CompletedAt | ||
): GroupCheckoutEvent; | ||
|
||
public record GroupCheckoutFailed( | ||
Guid GroupCheckoutId, | ||
Guid[] CompletedCheckouts, | ||
Guid[] FailedCheckouts, | ||
DateTimeOffset FailedAt | ||
): GroupCheckoutEvent; | ||
|
||
private GroupCheckoutEvent() { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
Workshops/EventDrivenArchitecture/Solutions/03-BusinessProcesses/03-BusinessProcesses.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<RootNamespace>BusinessProcesses</RootNamespace> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Bogus" Version="35.6.1"/> | ||
<PackageReference Include="FluentAssertions" Version="6.12.0"/> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0"/> | ||
<PackageReference Include="Ogooreck" Version="0.8.2"/> | ||
<PackageReference Include="GitHubActionsTestLogger" Version="2.4.1"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="xunit" Version="2.9.0"/> | ||
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.8"/> | ||
</ItemGroup> | ||
</Project> |
11 changes: 11 additions & 0 deletions
11
Workshops/EventDrivenArchitecture/Solutions/03-BusinessProcesses/UnitTest1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Xunit; | ||
|
||
namespace BusinessProcesses; | ||
|
||
public class UnitTest1 | ||
{ | ||
[Fact] | ||
public void Test1() | ||
{ | ||
} | ||
} |