This interface must be implemented by Redakt file store modules. The module can then be registered with the DI container.

public interface IFileStore: IDataProvider
Extends:
IDataProvider

Methods

CreateReadStreamAsync(IFileHandle) Opens a read stream for the specified IFileHandle.
WriteStreamAsync(Stream, string, string) Writes a stream to the file store and returns a new IFileHandle.
DeleteAsync(IFileHandle) Deletes a file from the file store.

Implemented by

AzureBlobStorage
FileSystemStore
GridFsStore
LiteDbFileStore
RavenAttachmentStore