Craig's Utility Library
4.0 Beta
|
Local file system base class More...
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... | |
Local file system base class
Definition at line 30 of file LocalFileSystemBase.cs.
|
protected |
Constructor
Definition at line 35 of file LocalFileSystemBase.cs.
|
virtual |
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) |
Implements Utilities.IO.FileSystem.BaseClasses.FileSystemBase.
Definition at line 47 of file LocalFileSystemBase.cs.
|
protectedvirtual |
Function to override in order to dispose objects
Managed | If 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.
|
virtual |
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) |
Implements Utilities.IO.FileSystem.BaseClasses.FileSystemBase.
Definition at line 61 of file LocalFileSystemBase.cs.