public BoardTests() { var store = new InMemoryEventStore(); var publisher = new AppDomainEventPublisher(new [] { typeof(PlayerSetCommand).Assembly }); _context = new EventContext("test", store, publisher); }
public static void Main() { var publisher = new AppDomainEventPublisher(); //var store = new FileEventStore(AppDomain.CurrentDomain.BaseDirectory); var store = new InMemoryEventStore(); Context = new EventContext(Guid.Empty.ToString("N"), store, publisher); }