C# Класс Utilities.IO.FileSystem.BaseClasses.FileSystemBase

File system base class
Наследование: Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass, IFileSystem
Показать файл Открыть проект

Открытые методы

Метод Описание
CanHandle ( string Path ) : bool

Returns true if it can handle the path, false otherwise

Directory ( string Path, string UserName = "", string Password = "", string Domain = "" ) : IDirectory

Gets the directory representation for the directory

File ( string Path, string UserName = "", string Password = "", string Domain = "" ) : IFile

Gets the class representation for the file

Защищенные методы

Метод Описание
AbsolutePath ( string Path ) : string

Gets the absolute path of the variable passed in

FileSystemBase ( ) : System.Text.RegularExpressions

Constructor

Описание методов

AbsolutePath() защищенный абстрактный Метод

Gets the absolute path of the variable passed in
protected abstract AbsolutePath ( string Path ) : string
Path string Path to convert to absolute
Результат string

CanHandle() публичный Метод

Returns true if it can handle the path, false otherwise
public CanHandle ( string Path ) : bool
Path string The path to check against
Результат bool

Directory() публичный абстрактный Метод

Gets the directory representation for the directory
public abstract Directory ( string Path, string UserName = "", string Password = "", string Domain = "" ) : IDirectory
Path string Path to the directory
UserName string User name to be used to access the directory (optional)
Password string Password to be used to access the directory (optional)
Domain string Domain of the user (optional)
Результат IDirectory

File() публичный абстрактный Метод

Gets the class representation for the file
public abstract File ( string Path, string UserName = "", string Password = "", string Domain = "" ) : IFile
Path string Path to the file
UserName string User name to be used to access the file (optional)
Password string Password to be used to access the file (optional)
Domain string Domain of the user (optional)
Результат IFile

FileSystemBase() защищенный Метод

Constructor
protected FileSystemBase ( ) : System.Text.RegularExpressions
Результат System.Text.RegularExpressions