internal FileSystemLargeMessageBodyStore(StorageDirectorySetting storageDirectory, ILogger logger) { _storageDirectory = storageDirectory; _logger = logger; _directoryOnDisk = new ThreadSafeLazy <DirectoryInfo>(() => OpenStorageDirectory(_storageDirectory)); }
public FileSystemStorageConfiguration WithStorageDirectory(string storageDirectory) { StorageDirectory = new StorageDirectorySetting { Value = storageDirectory }; return(this); }
internal FileSystemLargeMessageBodyStore(StorageDirectorySetting storageDirectory, ILogger logger) { _storageDirectory = storageDirectory; _logger = logger; _directoryOnDisk = new ThreadSafeLazy<DirectoryInfo>(() => OpenStorageDirectory(_storageDirectory)); }
public FileSystemStorageConfiguration WithStorageDirectory(string storageDirectory) { StorageDirectory = new StorageDirectorySetting {Value = storageDirectory}; return this; }