public EventStoreProvider(IEventStoreConnection connection, StreamNameStrategy eventStreamNameStrategy, StreamNameStrategy snapshotStreamNameStrategy) { _connection = connection; _eventStreamNameStrategy = eventStreamNameStrategy; _snapshotStreamNameStrategy = snapshotStreamNameStrategy; }
public EventStoreProvider(IEventStoreConnection connection) { _connection = connection; _eventStreamNameStrategy = DefaultStrategy.DefaultEventStreamNameStrategy; _snapshotStreamNameStrategy = DefaultStrategy.DefaultSnapshotStreamNameStrategy; _stringToType = Type.GetType; _typeToString = type => type.AssemblyQualifiedName; }