IFileContentStorage interface

Medium

Terrasoft.File.Abstractions namespace.

The Terrasoft.File.Abstractions.IFileContentStorage interface provides the essential methods for file storage management. 

Methods 

Task<Stream> ReadAsync(IFileContentReadContext context)

Reads the file content.

Task WriteAsync(IFileContentWriteContext context)

Writes the file content.

Task DeleteAsync(IFileContentDeleteContext context)

Deletes the file content.

Task CopyAsync(IFileContentCopyMoveContext context)

Copies the file content.

Task MoveAsync(IFileContentCopyMoveContext context)

Moves the file content.