Files
silver-octo-spoon/wolverine/a-frame-architecture/FinancialApi/DemoEventStore.cs
T

15 lines
346 B
C#

using System;
using System.Collections.Generic;
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}");
}
}