Skip to content

DefaultFS

Namespace: Shadop.Archmage.Sdk

Default implementation of the IFS interface using standard System.IO operations.

public class DefaultFS : IFS

Inheritance ObjectDefaultFS
Implements IFS

public DefaultFS()
public Byte[] ReadAllBytes(string path)

path String

Byte[]

ReadAllBytesAsync(String, CancellationToken)

Section titled “ReadAllBytesAsync(String, CancellationToken)”
public Task<Byte[]> ReadAllBytesAsync(string path, CancellationToken cancellationToken)

path String

cancellationToken CancellationToken

Task<Byte[]>

public bool FileExists(string path)

path String

Boolean

public bool DirectoryExists(string path)

path String

Boolean