Craig's Utility Library  4.0 Beta
Utilities.IO.FileSystem.Interfaces.IFileSystem Interface Reference

Interface for the file system More...

Inheritance diagram for Utilities.IO.FileSystem.Interfaces.IFileSystem:
Utilities.IO.FileSystem.BaseClasses.FileSystemBase Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase Utilities.IO.FileSystem.Default.FtpFileSystem Utilities.IO.FileSystem.Default.HttpFileSystem Utilities.IO.FileSystem.Default.ResourceFileSystem Utilities.IO.FileSystem.Default.AbsoluteLocalFileSystem Utilities.IO.FileSystem.Default.NetworkFileSystem Utilities.IO.FileSystem.Default.RelativeLocalFileSystem Utilities.IO.FileSystem.Default.AbsoluteLocalFileSystem Utilities.IO.FileSystem.Default.NetworkFileSystem Utilities.IO.FileSystem.Default.RelativeLocalFileSystem

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

Detailed Description

Interface for the file system

Definition at line 31 of file IFileSystem.cs.

Member Function Documentation

bool Utilities.IO.FileSystem.Interfaces.IFileSystem.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

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

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

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

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

Implemented in Utilities.IO.FileSystem.BaseClasses.FileSystemBase, Utilities.IO.FileSystem.Interfaces.Contracts.IFileSystemContract, and Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase.

Property Documentation

string Utilities.IO.FileSystem.Interfaces.IFileSystem.Name
get

Name of the file system

Definition at line 36 of file IFileSystem.cs.


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