Craig's Utility Library
4.0 Beta
|
IFileSystem contract More...
Public Member Functions | |
bool | CanHandle (string Path) |
Returns true if it can handle the path, false otherwise More... | |
IDirectory | Directory (string Path, string UserName="", string Password="", string Domain="") |
Gets the directory representation for the directory More... | |
IFile | File (string Path, string UserName="", string Password="", string Domain="") |
Gets the class representation for the file More... | |
Properties | |
string | Name [get] |
Name of the file system More... | |
Properties inherited from Utilities.IO.FileSystem.Interfaces.IFileSystem | |
string | Name [get] |
Name of the file system More... | |
IFileSystem contract
Definition at line 30 of file IFileSystemContract.cs.
bool Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract.CanHandle | ( | string | Path | ) |
Returns true if it can handle the path, false otherwise
Path | The path to check against |
Implements Utilities.IO.FileSystem.Interfaces.IFileSystem.
Definition at line 49 of file IFileSystemContract.cs.
IDirectory Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract.Directory | ( | string | Path, |
string | UserName = "" , |
||
string | Password = "" , |
||
string | Domain = "" |
||
) |
Gets the directory representation for the directory
Path | Path to the directory |
UserName | User name to be used to access the directory (optional) |
Password | Password to be used to access the directory (optional) |
Domain | Domain of the user (optional) |
Implements Utilities.IO.FileSystem.Interfaces.IFileSystem.
Definition at line 62 of file IFileSystemContract.cs.
IFile Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract.File | ( | string | Path, |
string | UserName = "" , |
||
string | Password = "" , |
||
string | Domain = "" |
||
) |
Gets the class representation for the file
Path | Path to the file |
UserName | User name to be used to access the file (optional) |
Password | Password to be used to access the file (optional) |
Domain | Domain of the user (optional) |
Implements Utilities.IO.FileSystem.Interfaces.IFileSystem.
Definition at line 76 of file IFileSystemContract.cs.
|
get |
Name of the file system
Definition at line 36 of file IFileSystemContract.cs.