Craig's Utility Library
4.0 Beta
|
Interface for the file system 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... | |
Interface for the file system
Definition at line 31 of file IFileSystem.cs.
bool Utilities.IO.FileSystem.Interfaces.IFileSystem.CanHandle | ( | string | Path | ) |
Returns true if it can handle the path, false otherwise
Path | The path to check against |
Implemented in Utilities.IO.FileSystem.BaseClasses.FileSystemBase, and Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract.
IDirectory Utilities.IO.FileSystem.Interfaces.IFileSystem.Directory | ( | string | Path, |
string | UserName = "" , |
||
string | Password = "" , |
||
string | Domain = "" |
||
) |
Gets the directory representation for the directory
Path | Path to the directory |
Domain | Domain of the user (optional) |
Password | Password to be used to access the directory (optional) |
UserName | User name to be used to access the directory (optional) |
Implemented in Utilities.IO.FileSystem.BaseClasses.FileSystemBase, Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract, and Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase.
IFile Utilities.IO.FileSystem.Interfaces.IFileSystem.File | ( | string | Path, |
string | UserName = "" , |
||
string | Password = "" , |
||
string | Domain = "" |
||
) |
Gets the class representation for the file
Path | Path to the file |
Domain | Domain of the user (optional) |
Password | Password to be used to access the file (optional) |
UserName | User name to be used to access the file (optional) |
Implemented in Utilities.IO.FileSystem.BaseClasses.FileSystemBase, Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract, and Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase.
|
get |
Name of the file system
Definition at line 36 of file IFileSystem.cs.