C# Класс TVSorter.Files.FileManager

The file manager.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CopyFile ( IEnumerable files ) : void

Performs a copy file operation.

MoveFile ( IEnumerable files ) : void

Performs a move file operation on the specified files.

Приватные методы

Метод Описание
DeleteEmptySubdirectories ( FileResult file ) : void

Deletes the subdirectories of the file if they are empty.

FileManager ( IStorageProvider storageProvider, IDataProvider dataProvider ) : System.Collections.Generic

Initializes a new instance of the FileManager class. Initialises a new instance of the FileManager class.

HandleRenameAndOverwrite ( FileResult file, IDirectoryInfo destination, IFileInfo &destinationInfo ) : bool

Handles the rename and overwrite of the file.

ProcessFile ( SortType type, FileResult file, IDirectoryInfo destination ) : void

Processes a single file.

ProcessFiles ( IEnumerable files, SortType type, IDirectoryInfo defaultDestination ) : void

Processes the specified list of files.

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

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

Performs a copy file operation.
public CopyFile ( IEnumerable files ) : void
files IEnumerable /// The files to copy. ///
Результат void

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

Performs a move file operation on the specified files.
public MoveFile ( IEnumerable files ) : void
files IEnumerable /// The files to move. ///
Результат void