public void Initialize() { var factory = new AbsoluteOrderingSqlPersistenceFactory("EventStore", new BinarySerializer(), false); _sut = (IPersistStreamsWithAbsoluteOrdering)factory.Build(); _sut.Initialize(); }
public JoesBrowsableEventStore(IPersistStreams streamStore) { if (!(streamStore is IPersistStreamsWithAbsoluteOrdering)) { throw new ArgumentException("The stream store must impement IPersistStreamsWithAbsoluteOrdering in order to be used with JoesBrowsableEventStore", "streamStore"); } _streamStore = (IPersistStreamsWithAbsoluteOrdering)streamStore; }
public JoesBrowsableEventStore(IPersistStreams streamStore) { if (!(streamStore is IPersistStreamsWithAbsoluteOrdering)) { throw new ArgumentException("The stream store must impement IPersistStreamsWithAbsoluteOrdering in order to be used with JoesBrowsableEventStore", "streamStore"); } _streamStore = (IPersistStreamsWithAbsoluteOrdering)streamStore; }
public void Initialize() { var factory = new AbsoluteOrderingSqlPersistenceFactory("EventStore", new BinarySerializer(), false); _sut = (IPersistStreamsWithAbsoluteOrdering)factory.Build(); _sut.Initialize(); }