Craig's Utility Library  4.0 Beta
Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract Class Reference

IFileSystem contract More...

Inheritance diagram for Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract:
Utilities.IO.FileSystem.Interfaces.IFileSystem

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...
 

Detailed Description

IFileSystem contract

Definition at line 30 of file IFileSystemContract.cs.

Member Function Documentation

bool Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract.CanHandle ( string  Path)

Returns true if it can handle the path, false otherwise

Parameters
PathThe path to check against
Returns
True if it can handle the path, false otherwise

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

Parameters
PathPath to the directory
UserNameUser name to be used to access the directory (optional)
PasswordPassword to be used to access the directory (optional)
DomainDomain of the user (optional)
Returns
The directory object

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

Parameters
PathPath to the file
UserNameUser name to be used to access the file (optional)
PasswordPassword to be used to access the file (optional)
DomainDomain of the user (optional)
Returns
The file object

Implements Utilities.IO.FileSystem.Interfaces.IFileSystem.

Definition at line 76 of file IFileSystemContract.cs.

Property Documentation

string Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract.Name
get

Name of the file system

Definition at line 36 of file IFileSystemContract.cs.


The documentation for this class was generated from the following file: