Craig's Utility Library  4.0 Beta
Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase Class Reference

Local file system base class More...

Inheritance diagram for Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase:
Utilities.IO.FileSystem.BaseClasses.FileSystemBase Utilities.IO.FileSystem.Interfaces.IFileSystem Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass Utilities.IO.FileSystem.Interfaces.IFileSystem Utilities.IO.FileSystem.Default.AbsoluteLocalFileSystem Utilities.IO.FileSystem.Default.NetworkFileSystem Utilities.IO.FileSystem.Default.RelativeLocalFileSystem

Public Member Functions

override IDirectory Directory (string Path, string UserName="", string Password="", string Domain="")
 Gets the directory representation for the directory More...
 
override IFile File (string Path, string UserName="", string Password="", string Domain="")
 Gets the class representation for the file More...
 
- Public Member Functions inherited from Utilities.IO.FileSystem.BaseClasses.FileSystemBase
bool CanHandle (string Path)
 Returns true if it can handle the path, false otherwise More...
 
- Public Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
void Dispose ()
 Dispose function More...
 

Protected Member Functions

 LocalFileSystemBase ()
 Constructor More...
 
override void Dispose (bool Managed)
 Function to override in order to dispose objects More...
 
- Protected Member Functions inherited from Utilities.IO.FileSystem.BaseClasses.FileSystemBase
 FileSystemBase ()
 Constructor More...
 
abstract string AbsolutePath (string Path)
 Gets the absolute path of the variable passed in More...
 
- Protected Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
 SafeDisposableBaseClass ()
 Construct More...
 

Additional Inherited Members

- Properties inherited from Utilities.IO.FileSystem.BaseClasses.FileSystemBase
abstract string Name [get]
 Name of the file system More...
 
Regex HandleRegex [get]
 Regex used to determine if the file system can handle the path More...
 
abstract string HandleRegexString [get]
 Regex string used to determine if the file system can handle the path More...
 
- Properties inherited from Utilities.IO.FileSystem.Interfaces.IFileSystem
string Name [get]
 Name of the file system More...
 

Detailed Description

Local file system base class

Definition at line 30 of file LocalFileSystemBase.cs.

Constructor & Destructor Documentation

Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase.LocalFileSystemBase ( )
protected

Constructor

Definition at line 35 of file LocalFileSystemBase.cs.

Member Function Documentation

override IDirectory Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase.Directory ( string  Path,
string  UserName = "",
string  Password = "",
string  Domain = "" 
)
virtual

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

Implements Utilities.IO.FileSystem.BaseClasses.FileSystemBase.

Definition at line 47 of file LocalFileSystemBase.cs.

override void Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase.Dispose ( bool  Managed)
protectedvirtual

Function to override in order to dispose objects

Parameters
ManagedIf true, managed and unmanaged objects should be disposed. Otherwise unmanaged objects only.

Implements Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass.

Reimplemented in Utilities.IO.FileSystem.Default.RelativeLocalFileSystem, Utilities.IO.FileSystem.Default.AbsoluteLocalFileSystem, and Utilities.IO.FileSystem.Default.NetworkFileSystem.

Definition at line 73 of file LocalFileSystemBase.cs.

override IFile Utilities.IO.FileSystem.BaseClasses.LocalFileSystemBase.File ( string  Path,
string  UserName = "",
string  Password = "",
string  Domain = "" 
)
virtual

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

Implements Utilities.IO.FileSystem.BaseClasses.FileSystemBase.

Definition at line 61 of file LocalFileSystemBase.cs.


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