ExtensionsFileIO Class |
Namespace: Cauldron
The ExtensionsFileIO type exposes the following members.
Name | Description | |
---|---|---|
ExistsAsync |
Determines whether the specified file exists.
| |
ReadBytesAsync |
Reads the contents of the specified file and returns a byte array.
| |
ReadTextAsync(FileInfo) |
Reads the contents of the specified file and returns text.
| |
ReadTextAsync(DirectoryInfo, String) |
Reads the contents of the specified file and returns text.
| |
ReadTextAsync(FileInfo, Encoding) |
Reads the contents of the specified file and returns text.
| |
ReadTextAsync(DirectoryInfo, String, Encoding) |
Reads the contents of the specified file and returns text.
| |
WriteBytesAsync |
Writes an array of bytes of data to the specified file.
| |
WriteTextAsync(FileInfo, String) |
Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten.
| |
WriteTextAsync(FileInfo, String, Encoding) |
Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten.
|