DefaultFS
Namespace: Shadop.Archmage.Sdk
Default implementation of the IFS interface using standard System.IO operations.
public class DefaultFS : IFSInheritance Object → DefaultFS
Implements IFS
Constructors
Section titled “Constructors”DefaultFS()
Section titled “DefaultFS()”public DefaultFS()Methods
Section titled “Methods”ReadAllBytes(String)
Section titled “ReadAllBytes(String)”public Byte[] ReadAllBytes(string path)Parameters
Section titled “Parameters”path String
Returns
Section titled “Returns”ReadAllBytesAsync(String, CancellationToken)
Section titled “ReadAllBytesAsync(String, CancellationToken)”public Task<Byte[]> ReadAllBytesAsync(string path, CancellationToken cancellationToken)Parameters
Section titled “Parameters”path String
cancellationToken CancellationToken
Returns
Section titled “Returns”FileExists(String)
Section titled “FileExists(String)”public bool FileExists(string path)Parameters
Section titled “Parameters”path String
Returns
Section titled “Returns”DirectoryExists(String)
Section titled “DirectoryExists(String)”public bool DirectoryExists(string path)Parameters
Section titled “Parameters”path String