C# Класс fs4net.Framework.Test.MockFileSystem

Наследование: IFileSystem, IInternalFileSystem
Показать файл Открыть проект

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

Метод Описание
AllDrives ( ) : IEnumerable
CopyAndOverwriteFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
CopyFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
CreateAppendStream ( RootedCanonicalPath path ) : Stream
CreateDirectory ( RootedCanonicalPath path ) : void
CreateModifyStream ( RootedCanonicalPath path ) : Stream
CreateReadStream ( RootedCanonicalPath path ) : Stream
CreateWriteStream ( RootedCanonicalPath path ) : Stream
DeleteDirectory ( RootedCanonicalPath path, bool recursive ) : void
DeleteFile ( RootedCanonicalPath path ) : void
DirectoryDescribing ( string fullPath ) : RootedDirectory
DirectoryDescribingCurrentDirectory ( ) : RootedDirectory
DirectoryDescribingSpecialFolder ( Environment folder ) : RootedDirectory
DirectoryDescribingTemporaryDirectory ( ) : RootedDirectory
DirectoryFromCurrentDirectory ( string path ) : RootedDirectory
DriveDescribing ( string driveName ) : Drive
FileDescribing ( string fullPath ) : RootedFile
FileFromCurrentDirectory ( string path ) : RootedFile
GetCurrentDirectory ( ) : string
GetDirectoriesInDirectory ( RootedCanonicalPath path ) : IEnumerable
GetDirectoryCreationTime ( RootedCanonicalPath path ) : System.DateTime
GetDirectoryLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
GetDirectoryLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
GetFileCreationTime ( RootedCanonicalPath path ) : System.DateTime
GetFileLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
GetFileLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
GetFileSize ( RootedCanonicalPath path ) : long
GetFilesInDirectory ( RootedCanonicalPath path ) : IEnumerable
IsDirectory ( RootedCanonicalPath path ) : bool
IsFile ( RootedCanonicalPath path ) : bool
MoveDirectory ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
MoveFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
SetCurrentDirectory ( RootedCanonicalPath path ) : void
SetDirectoryCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetDirectoryLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetDirectoryLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetFileCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetFileLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
SetFileLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void

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

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

public AllDrives ( ) : IEnumerable
Результат IEnumerable

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

public CopyAndOverwriteFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source RootedCanonicalPath
destination RootedCanonicalPath
Результат void

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

public CopyFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source RootedCanonicalPath
destination RootedCanonicalPath
Результат void

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

public CreateAppendStream ( RootedCanonicalPath path ) : Stream
path RootedCanonicalPath
Результат Stream

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

public CreateDirectory ( RootedCanonicalPath path ) : void
path RootedCanonicalPath
Результат void

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

public CreateModifyStream ( RootedCanonicalPath path ) : Stream
path RootedCanonicalPath
Результат Stream

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

public CreateReadStream ( RootedCanonicalPath path ) : Stream
path RootedCanonicalPath
Результат Stream

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

public CreateWriteStream ( RootedCanonicalPath path ) : Stream
path RootedCanonicalPath
Результат Stream

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

public DeleteDirectory ( RootedCanonicalPath path, bool recursive ) : void
path RootedCanonicalPath
recursive bool
Результат void

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

public DeleteFile ( RootedCanonicalPath path ) : void
path RootedCanonicalPath
Результат void

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

public DirectoryDescribing ( string fullPath ) : RootedDirectory
fullPath string
Результат RootedDirectory

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

public DirectoryDescribingCurrentDirectory ( ) : RootedDirectory
Результат RootedDirectory

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

public DirectoryDescribingSpecialFolder ( Environment folder ) : RootedDirectory
folder System.Environment
Результат RootedDirectory

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

public DirectoryDescribingTemporaryDirectory ( ) : RootedDirectory
Результат RootedDirectory

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

public DirectoryFromCurrentDirectory ( string path ) : RootedDirectory
path string
Результат RootedDirectory

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

public DriveDescribing ( string driveName ) : Drive
driveName string
Результат Drive

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

public FileDescribing ( string fullPath ) : RootedFile
fullPath string
Результат RootedFile

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

public FileFromCurrentDirectory ( string path ) : RootedFile
path string
Результат RootedFile

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

public GetCurrentDirectory ( ) : string
Результат string

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

public GetDirectoriesInDirectory ( RootedCanonicalPath path ) : IEnumerable
path RootedCanonicalPath
Результат IEnumerable

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

public GetDirectoryCreationTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
Результат System.DateTime

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

public GetDirectoryLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
Результат System.DateTime

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

public GetDirectoryLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
Результат System.DateTime

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

public GetFileCreationTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
Результат System.DateTime

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

public GetFileLastAccessTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
Результат System.DateTime

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

public GetFileLastWriteTime ( RootedCanonicalPath path ) : System.DateTime
path RootedCanonicalPath
Результат System.DateTime

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

public GetFileSize ( RootedCanonicalPath path ) : long
path RootedCanonicalPath
Результат long

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

public GetFilesInDirectory ( RootedCanonicalPath path ) : IEnumerable
path RootedCanonicalPath
Результат IEnumerable

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

public IsDirectory ( RootedCanonicalPath path ) : bool
path RootedCanonicalPath
Результат bool

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

public IsFile ( RootedCanonicalPath path ) : bool
path RootedCanonicalPath
Результат bool

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

public MoveDirectory ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source RootedCanonicalPath
destination RootedCanonicalPath
Результат void

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

public MoveFile ( RootedCanonicalPath source, RootedCanonicalPath destination ) : void
source RootedCanonicalPath
destination RootedCanonicalPath
Результат void

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

public SetCurrentDirectory ( RootedCanonicalPath path ) : void
path RootedCanonicalPath
Результат void

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

public SetDirectoryCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
Результат void

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

public SetDirectoryLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
Результат void

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

public SetDirectoryLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
Результат void

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

public SetFileCreationTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
Результат void

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

public SetFileLastAccessTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
Результат void

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

public SetFileLastWriteTime ( RootedCanonicalPath path, System.DateTime at ) : void
path RootedCanonicalPath
at System.DateTime
Результат void