C# 클래스 Microsoft.OfficeProPlus.Downloader.CabExtractor

상속: IDisposable
파일 보기 프로젝트 열기: OfficeDev/Office-IT-Pro-Deployment-Scripts 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddToListOfFiles void
CopyFiles System.IntPtr
CreateAllRelevantDirectories void
Dispose void
ExtractCallback System.IntPtr
ExtractFile void
FdiCopy bool
FdiCreate System.IntPtr
FdiIterate bool
FileRead int
FileSeek int
FileWrite int
GetFileName string
GetFileRootFolder string
InputFileClose int
InputFileOpen System.IntPtr
IterateCallback System.IntPtr
MemAlloc System.IntPtr
MemFree void
OutputFileClose System.IntPtr
OutputFileOpen System.IntPtr
ShouldIgnoreFile bool
StreamFromHandle Stream

공개 메소드들

메소드 설명
CabExtractor ( string cabFilePath ) : System
CabExtractor ( string cabFilePath, IEnumerable subDirectoryToUnpack ) : System
CopyStream ( Stream input, Stream output ) : void

Copies the contents of input to output. Doesn't close either stream.

Dispose ( ) : void
ExtractCabFiles ( ) : bool

비공개 메소드들

메소드 설명
AddToListOfFiles ( ArchiveFile extractFile ) : void
CopyFiles ( NativeMethods fdin ) : IntPtr
CreateAllRelevantDirectories ( string filePath ) : void
Dispose ( bool disposing ) : void
ExtractCallback ( NativeMethods fdint, NativeMethods fdin ) : IntPtr
ExtractFile ( string fileName ) : void
FdiCopy ( ) : bool
FdiCreate ( NativeMethods fnMemAlloc, NativeMethods fnMemFree, NativeMethods fnFileOpen, NativeMethods fnFileRead, NativeMethods fnFileWrite, NativeMethods fnFileClose, NativeMethods fnFileSeek, NativeMethods erf ) : IntPtr
FdiIterate ( ) : bool
FileRead ( IntPtr hf, byte buffer, int cb ) : int
FileSeek ( IntPtr hf, int dist, int seektype ) : int
FileWrite ( IntPtr hf, byte buffer, int cb ) : int
GetFileName ( NativeMethods notification ) : string
GetFileRootFolder ( string path ) : string
InputFileClose ( IntPtr hf ) : int
InputFileOpen ( string fileName, int oflag, int pmode ) : IntPtr
IterateCallback ( NativeMethods fdint, NativeMethods fdin ) : IntPtr
MemAlloc ( int cb ) : IntPtr
MemFree ( IntPtr mem ) : void
OutputFileClose ( NativeMethods fdin ) : IntPtr
OutputFileOpen ( NativeMethods fdin ) : IntPtr
ShouldIgnoreFile ( ArchiveFile extractFile ) : bool
StreamFromHandle ( IntPtr hf ) : Stream

메소드 상세

CabExtractor() 공개 메소드

public CabExtractor ( string cabFilePath ) : System
cabFilePath string
리턴 System

CabExtractor() 공개 메소드

public CabExtractor ( string cabFilePath, IEnumerable subDirectoryToUnpack ) : System
cabFilePath string
subDirectoryToUnpack IEnumerable
리턴 System

CopyStream() 공개 정적인 메소드

Copies the contents of input to output. Doesn't close either stream.
public static CopyStream ( Stream input, Stream output ) : void
input Stream
output Stream
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ExtractCabFiles() 공개 메소드

public ExtractCabFiles ( ) : bool
리턴 bool