ExtensionsDirectoryInfo Class |
Namespace: Cauldron
The ExtensionsDirectoryInfo type exposes the following members.
Name | Description | |
---|---|---|
Combine(DirectoryInfo, String) |
Combines a DirectoryInfo and a string to a path
| |
Combine(DirectoryInfo, String, String) |
Combines a DirectoryInfo and a string to a path
| |
Combine(DirectoryInfo, String, String, String) |
Combines a DirectoryInfo and a string to a path
| |
Combine(DirectoryInfo, String, String, String, String) |
Combines a DirectoryInfo and a string to a path
| |
CopyAsync(FileInfo, DirectoryInfo) |
Creates a copy of the file in the specified folder.
| |
CopyAsync(FileInfo, DirectoryInfo, String) |
Creates a copy of the file in the specified folder and renames the copy.
| |
CopyAsync(FileInfo, DirectoryInfo, String, NameCollisionOption) |
Creates a copy of the file in the specified folder and renames the copy. This method also
specifies what to do if a file with the same name already exists in the destination folder.
| |
CreateFileAsync(DirectoryInfo, String) |
Creates a new file with the specified name in the current folder.
| |
CreateFileAsync(DirectoryInfo, String, CreationCollisionOption) |
Creates a new file in the current folder. This method also specifies what to do if a file
with the same name already exists in the current folder.
| |
CreateFolderAsync(DirectoryInfo, String) |
Creates a new subfolder with the specified name in the current folder.
| |
CreateFolderAsync(DirectoryInfo, String, CreationCollisionOption) |
Creates a new subfolder with the specified name in the current folder. This method also
specifies what to do if a subfolder with the same name already exists in the current folder.
| |
GetFileAsync |
Gets the file with the specified name from the current folder.
| |
GetUniqueDirectoryName |
Checks if the directory name exist. If the directory already exists, an indexer will be added to the directory name to make it unique.
| |
ToDirectoryInfo |
Converts a string to a DirectoryInfo | |
ToFileInfo |
Converts a string to a FileInfo |