C# 클래스 PatchworkLauncher.PatchingHelper

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

공개 메소드들

메소드 설명
DoesFileMatchPatchList ( string file, string targetFile, IEnumerable patches ) : bool
GetBackupForModified ( string path ) : string
GetBackupForOriginal ( string path ) : string
IsFilePatched ( string file ) : bool
LoadAppInfoFactory ( string assembly ) : AppInfoFactory
RestorePatchedFile ( string file ) : void
RestorePatchedFiles ( AppInfo appInfo, IEnumerable seq ) : void
SwitchFilesSafely ( string takeFileFromPath, string putItHere, string putExistingIn ) : bool

비공개 메소드들

메소드 설명
GetNonCollidingBackupName ( string path, int timesToTry = 10 ) : string
ReadPatchedFileMetadata ( string file ) : IEnumerable

메소드 상세

DoesFileMatchPatchList() 공개 정적인 메소드

public static DoesFileMatchPatchList ( string file, string targetFile, IEnumerable patches ) : bool
file string
targetFile string
patches IEnumerable
리턴 bool

GetBackupForModified() 공개 정적인 메소드

public static GetBackupForModified ( string path ) : string
path string
리턴 string

GetBackupForOriginal() 공개 정적인 메소드

public static GetBackupForOriginal ( string path ) : string
path string
리턴 string

IsFilePatched() 공개 정적인 메소드

public static IsFilePatched ( string file ) : bool
file string
리턴 bool

LoadAppInfoFactory() 공개 정적인 메소드

public static LoadAppInfoFactory ( string assembly ) : AppInfoFactory
assembly string
리턴 Patchwork.AutoPatching.AppInfoFactory

RestorePatchedFile() 공개 정적인 메소드

public static RestorePatchedFile ( string file ) : void
file string
리턴 void

RestorePatchedFiles() 공개 정적인 메소드

public static RestorePatchedFiles ( AppInfo appInfo, IEnumerable seq ) : void
appInfo AppInfo
seq IEnumerable
리턴 void

SwitchFilesSafely() 공개 정적인 메소드

public static SwitchFilesSafely ( string takeFileFromPath, string putItHere, string putExistingIn ) : bool
takeFileFromPath string
putItHere string
putExistingIn string
리턴 bool