Table of Contents

Class FileRetriever

Namespace
Amazon.Util.Internal
Assembly
AWSSDK.Core.dll
public class FileRetriever : IFile
Inheritance
FileRetriever
Implements
Inherited Members

Constructors

FileRetriever()

public FileRetriever()

Methods

Exists(string)

public bool Exists(string path)

Parameters

path string

Returns

bool

ReadAllText(string)

public string ReadAllText(string path)

Parameters

path string

Returns

string

ReadAllTextAsync(string, CancellationToken)

public Task<string> ReadAllTextAsync(string path, CancellationToken token = default)

Parameters

path string
token CancellationToken

Returns

Task<string>

WriteAllText(string, string)

public void WriteAllText(string path, string contents)

Parameters

path string
contents string

WriteAllTextAsync(string, string, CancellationToken)

public Task WriteAllTextAsync(string path, string contents, CancellationToken token = default)

Parameters

path string
contents string
token CancellationToken

Returns

Task