Method | Description | |
---|---|---|
DirectoryDescribing ( IFileSystem fileSystem, string fullPath ) : RootedDirectory |
Creates a descriptor to a directory from the given path. This method throws if the path is invalid. The path may not end with a backslash. This method will succeed even if the directory does not exist.
|
|
DirectoryDescribingSpecialFolder ( this fileSystem, |
Creates a descriptor to the special folder identified by the parameter.
|
|
DirectoryFromCurrentDirectory ( this fileSystem, string path ) : RootedDirectory |
Creates a descriptor to a directory from the given path. If the given path is relative, the current directory is used to make the descriptor rooted.
|
|
DriveDescribing ( IFileSystem fileSystem, string driveName ) : Drive |
Creates a descriptor to a drive from the given drive name. The drive should be given without an ending backslash. Examples: "c:", "\\network\share". This method will succeed even if the drive does not exist.
|
|
FileDescribing ( IFileSystem fileSystem, string fullPath ) : RootedFile |
Creates a file descriptor from the given path. This method throws if the path is invalid. This method will succeed even if the file does not exist.
|
|
FileFromCurrentDirectory ( IFileSystem fileSystem, string path ) : RootedFile |
Creates a file descriptor from the given path. If the given path is relative, the current directory is used to make the descriptor rooted.
|
public static DirectoryDescribing ( IFileSystem fileSystem, string fullPath ) : RootedDirectory | ||
fileSystem | IFileSystem | |
fullPath | string | |
return | RootedDirectory |
public static DirectoryDescribingSpecialFolder ( this fileSystem, |
||
fileSystem | this | |
folder | ||
return | RootedDirectory |
public static DirectoryFromCurrentDirectory ( this fileSystem, string path ) : RootedDirectory | ||
fileSystem | this | |
path | string | |
return | RootedDirectory |
public static DriveDescribing ( IFileSystem fileSystem, string driveName ) : Drive | ||
fileSystem | IFileSystem | |
driveName | string | |
return | Drive |
public static FileDescribing ( IFileSystem fileSystem, string fullPath ) : RootedFile | ||
fileSystem | IFileSystem | |
fullPath | string | |
return | RootedFile |
public static FileFromCurrentDirectory ( IFileSystem fileSystem, string path ) : RootedFile | ||
fileSystem | IFileSystem | |
path | string | |
return | RootedFile |