C# Класс withSIX.Mini.Core.Games.Services.ContentInstaller.ContentInstaller.ContentCleaner

Показать файл Открыть проект

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

Метод Описание
Clean ( IAbsoluteDirectoryPath workingDirectory, IReadOnlyCollection exclusions, IEnumerable fileTypes, IAbsoluteDirectoryPath backupPath ) : void
CleanAsync ( IAbsoluteDirectoryPath workingDirectory, IReadOnlyCollection exclusions, IEnumerable fileTypes, IAbsoluteDirectoryPath backupPath ) : Task

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

Метод Описание
BackupEntry ( IAbsoluteDirectoryPath workingDirectory, IAbsoluteDirectoryPath backupPath, IAbsoluteFilePath entry ) : void
DeleteDestinationIfDirectory ( IAbsoluteFilePath backupDestination ) : void
DeleteEmptyFolders ( IAbsoluteDirectoryPath path ) : void
DeleteParentFilesIfExists ( IPath path, IAbsoluteDirectoryPath backupPath ) : void
GetExcludedDirectories ( IAbsoluteDirectoryPath workingDirectory, IEnumerable exclusions ) : IEnumerable
GetExcludedFiles ( IAbsoluteDirectoryPath workingDirectory, IEnumerable exclusions ) : IEnumerable
GetFilesToRemove ( IAbsoluteDirectoryPath workingDirectory, IReadOnlyCollection exclusions, IEnumerable fileTypes ) : IEnumerable
IsNotDirectoryExcluded ( IFilePath x, IReadOnlyCollection excludedDirectories ) : bool
IsNotExcluded ( IFilePath x, IReadOnlyCollection excludedDirectories, IEnumerable excludedFiles ) : bool

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

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

public Clean ( IAbsoluteDirectoryPath workingDirectory, IReadOnlyCollection exclusions, IEnumerable fileTypes, IAbsoluteDirectoryPath backupPath ) : void
workingDirectory IAbsoluteDirectoryPath
exclusions IReadOnlyCollection
fileTypes IEnumerable
backupPath IAbsoluteDirectoryPath
Результат void

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

public CleanAsync ( IAbsoluteDirectoryPath workingDirectory, IReadOnlyCollection exclusions, IEnumerable fileTypes, IAbsoluteDirectoryPath backupPath ) : Task
workingDirectory IAbsoluteDirectoryPath
exclusions IReadOnlyCollection
fileTypes IEnumerable
backupPath IAbsoluteDirectoryPath
Результат Task