Skip to main content
Version: 8.1

IFileContentStorage interface

Level: intermediate

Terrasoft.File.Abstractions namespace.

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

note

Use the “.NET class libraries of platform core” documentation to access the full description of the IFileContentStorage interface.

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.