public RemoteManagedStorage(RemoteManagedStorageState state) { if (state.Path != null) { persistentSource = new ReadOnlyFileBasedPersistentSource(state.Path, state.Prefix); } else { persistentSource = new MemoryPersistentSource(state.Log); } }
public RemoteManagedStorage(RemoteManagedStorageState state) { if (state.Path != null) { persistentSource = new ReadOnlyFileBasedPersistentSource(state.Path, state.Prefix); } else { persistentSource = new MemoryPersistentSource(state.Log); } }