C# Class Praeclarum.IO.IFileSystemEx

Afficher le fichier Open project: praeclarum/Praeclarum

Méthodes publiques

Méthode Description
CopyAsync ( this src, IFile file, IFileSystem dest, string destDir ) : Task
CreateFile ( this fs, string path, string contents ) : Task
DuplicateAsync ( this fs, IFile file ) : Task
GetAvailableNameAsync ( this fs, string path ) : Task
GetUniquePath ( this fs, string basePath ) : Task
HasExtension ( this f, string ext ) : bool
MoveAsync ( this src, IFile file, IFileSystem dest, string destDir ) : System.Threading.Tasks.Task
ReadAllBytesAsync ( this file ) : Task
Sync ( this fs, System.TimeSpan timeout ) : Task

Private Methods

Méthode Description
CopyDirectoryAsync ( this src, IFile file, IFileSystem dest, string destDir ) : Task
CopyFileAsync ( this src, IFile file, IFileSystem dest, string destDir ) : Task
MoveDirectoryAsync ( this src, IFile file, IFileSystem dest, string destDir ) : System.Threading.Tasks.Task
MoveFileAsync ( this src, IFile file, IFileSystem dest, string destDir ) : System.Threading.Tasks.Task

Method Details

CopyAsync() public static méthode

public static CopyAsync ( this src, IFile file, IFileSystem dest, string destDir ) : Task
src this
file IFile
dest IFileSystem
destDir string
Résultat Task

CreateFile() public static méthode

public static CreateFile ( this fs, string path, string contents ) : Task
fs this
path string
contents string
Résultat Task

DuplicateAsync() public static méthode

public static DuplicateAsync ( this fs, IFile file ) : Task
fs this
file IFile
Résultat Task

GetAvailableNameAsync() public static méthode

public static GetAvailableNameAsync ( this fs, string path ) : Task
fs this
path string
Résultat Task

GetUniquePath() public static méthode

public static GetUniquePath ( this fs, string basePath ) : Task
fs this
basePath string
Résultat Task

HasExtension() public static méthode

public static HasExtension ( this f, string ext ) : bool
f this
ext string
Résultat bool

MoveAsync() public static méthode

public static MoveAsync ( this src, IFile file, IFileSystem dest, string destDir ) : System.Threading.Tasks.Task
src this
file IFile
dest IFileSystem
destDir string
Résultat System.Threading.Tasks.Task

ReadAllBytesAsync() public static méthode

public static ReadAllBytesAsync ( this file ) : Task
file this
Résultat Task

Sync() public static méthode

public static Sync ( this fs, System.TimeSpan timeout ) : Task
fs this
timeout System.TimeSpan
Résultat Task