Files
silver-octo-spoon/wolverine/a-frame-architecture/FinancialApi/DemoEventStore.cs
T
2026-07-16 16:36:46 +02:00

13 lines
298 B
C#

using FinancialApi.Application;
namespace FinancialApi;
public class DemoEventStore : IEventTracker
{
public List<string> CapturedEvents { get; } = new();
public void Add(string eventMessage)
{
CapturedEvents.Add($"[{DateTimeOffset.UtcNow:HH:mm:ss}] {eventMessage}");
}
}