C# 클래스 withSIX.Mini.Core.Games.Services.ContentInstaller.ContentInstaller.ContentCleaner

파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 메소드들

메소드 설명
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