C# Класс Microsoft.OfficeProPlus.Downloader.CabExtractor

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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