Table of Contents

Interface IAsyncFile

Namespace
SunamoInterfaces.Interfaces
Assembly
SunamoInterfaces.dll

Interface for asynchronous file operations.

public interface IAsyncFile
Extension Methods

Methods

ReadAllTextAsync(string)

Reads all text from a file asynchronously.

Task<string> ReadAllTextAsync(string filePath)

Parameters

filePath string

The path to the file.

Returns

Task<string>

The file content as string.