public EverstoreAdapter(AdapterConfiguration config)
 {
     Config = config;
     storageFactory = config.DataStorageFactory;
 }
 public VanillaDataStorage(AdapterConfiguration config, string name, Option<ISnapshotManager> snapshotManager)
 {
     this.config = config;
     this.name = name;
     this.snapshotManager = snapshotManager;
 }
 public IDataStorage Create(AdapterConfiguration config, string name, Option<ISnapshotManager> snapshotManager)
 {
     var storage = new VanillaDataStorage(config, name, snapshotManager);
     storage.Connect();
     return storage;
 }