public EngineBuilder(MemstateSettings settings, StorageProvider storageProvider = null) { _settings = settings; _storageProvider = storageProvider ?? settings.CreateStorageProvider(); _storageProvider.Initialize(); }
public EngineBuilder(MemstateSettings settings, StorageProvider storageProvider = null) { _settings = settings; _storageProvider = storageProvider ?? settings.CreateStorageProvider(); // TODO: Figure out what to do if initialization has already been executed. _storageProvider.Initialize(); }