C# 클래스 NuGet.FileSystemExtensions

파일 보기 프로젝트 열기: monoman/NugetCracker 1 사용 예제들

공개 메소드들

메소드 설명
AddFiles ( this fileSystem, IEnumerable files ) : void
AddFiles ( this fileSystem, IEnumerable files, string rootDir ) : void
AddFiles ( this fileSystem, IEnumerable files, string rootDir, bool preserveFilePath ) : void

Add the files to the specified FileSystem

비공개 메소드들

메소드 설명
AddFile ( this fileSystem, string path, Action write ) : void
AddFileWithCheck ( this fileSystem, string path, Action write ) : void
AddFileWithCheck ( this fileSystem, string path, Func streamFactory ) : void
Attempt ( System.Action action, int retries = 3, int delayBeforeRetry = 150 ) : void
DeleteDirectorySafe ( this fileSystem, string path, bool recursive ) : void
DeleteFileSafe ( this fileSystem, string path ) : void
DeleteFileSafe ( this fileSystem, string path, Func streamFactory ) : void
DeleteFiles ( this fileSystem, IEnumerable files ) : void
DeleteFiles ( this fileSystem, IEnumerable files, string rootDir ) : void
DoSafeAction ( System.Action action, ILogger logger ) : void
GetDirectories ( string path ) : IEnumerable
GetDirectoriesSafe ( this fileSystem, string path ) : IEnumerable
GetFilesSafe ( this fileSystem, string path ) : IEnumerable
GetFilesSafe ( this fileSystem, string path, string filter ) : IEnumerable
IndexOfAll ( string value, char ch ) : IEnumerable

메소드 상세

AddFiles() 공개 정적인 메소드

public static AddFiles ( this fileSystem, IEnumerable files ) : void
fileSystem this
files IEnumerable
리턴 void

AddFiles() 공개 정적인 메소드

public static AddFiles ( this fileSystem, IEnumerable files, string rootDir ) : void
fileSystem this
files IEnumerable
rootDir string
리턴 void

AddFiles() 공개 정적인 메소드

Add the files to the specified FileSystem
public static AddFiles ( this fileSystem, IEnumerable files, string rootDir, bool preserveFilePath ) : void
fileSystem this The file system.
files IEnumerable The files to add to FileSystem.
rootDir string The directory of the FileSystem to copy the files to.
preserveFilePath bool if set to true preserve full path of the copies files. Otherwise, /// all files with be copied to the .
리턴 void