C# 클래스 XenAdmin.Actions.ZipStatusReportAction

상속: XenAdmin.Actions.AsyncAction
파일 보기 프로젝트 열기: xenserver/xenadmin 1 사용 예제들

공개 메소드들

메소드 설명
RecomputeCanCancel ( ) : void
SanitizeTarPathMember ( string member ) : string
ZipStatusReportAction ( string tempFolder, string destFile ) : System

보호된 메소드들

메소드 설명
CancelRelatedTask ( ) : void
Run ( ) : void

비공개 메소드들

메소드 설명
CleanupFiles ( string extractTempDir ) : void
CopyStream ( Stream inputStream, Stream outputStream, long bytesToCopy, byte buf ) : void

Copies the specified number of bytes from one stream to another via the provided buffer.

DictionaryContainsIgnoringCase ( string>.Dictionary dict, string value ) : bool
IsCharExcluded ( char c ) : bool
SanitizeTarName ( string path, string>.Dictionary usedNames ) : string

Maps file/directory names that are illegal under Windows to 'sanitized' versions. The usedNames parameter ensures this is done consistently within a directory tree. The dictionary is used by SanitizeTarName() to ensure names are consistently sanitized. e.g.: dir1: -> dir1_ dir1? -> dir1_ (1) dir1_ -> dir1_ (2) dir1:/file -> dir1_/file dir1?/file -> dir1_ (1)/file Pass the same dictionary to each invocation to get unique outputs within the same tree.

ZipToOutputFile ( string folderToZip ) : void

메소드 상세

CancelRelatedTask() 보호된 메소드

protected CancelRelatedTask ( ) : void
리턴 void

RecomputeCanCancel() 공개 메소드

public RecomputeCanCancel ( ) : void
리턴 void

Run() 보호된 메소드

protected Run ( ) : void
리턴 void

SanitizeTarPathMember() 공개 정적인 메소드

public static SanitizeTarPathMember ( string member ) : string
member string
리턴 string

ZipStatusReportAction() 공개 메소드

public ZipStatusReportAction ( string tempFolder, string destFile ) : System
tempFolder string
destFile string
리턴 System