コード例 #1
0
ファイル: CabPacker.cs プロジェクト: Jeremiahf/wix3
 public CabPacker(CabEngine cabEngine)
     : base(cabEngine)
 {
     this.fciAllocMemHandler    = this.CabAllocMem;
     this.fciFreeMemHandler     = this.CabFreeMem;
     this.fciOpenStreamHandler  = this.CabOpenStreamEx;
     this.fciReadStreamHandler  = this.CabReadStreamEx;
     this.fciWriteStreamHandler = this.CabWriteStreamEx;
     this.fciCloseStreamHandler = this.CabCloseStreamEx;
     this.fciSeekStreamHandler  = this.CabSeekStreamEx;
     this.fciFilePlacedHandler  = this.CabFilePlaced;
     this.fciDeleteFileHandler  = this.CabDeleteFile;
     this.fciGetTempFileHandler = this.CabGetTempFile;
     this.fciGetNextCabinet     = this.CabGetNextCabinet;
     this.fciCreateStatus       = this.CabCreateStatus;
     this.fciGetOpenInfo        = this.CabGetOpenInfo;
     this.tempStreams = new List<Stream>();
     this.compressionLevel = CompressionLevel.Normal;
 }
コード例 #2
0
ファイル: CabPacker.cs プロジェクト: jsydenstricker/oneget
 public CabPacker(CabEngine cabEngine)
     : base(cabEngine)
 {
     this.fciAllocMemHandler    = this.CabAllocMem;
     this.fciFreeMemHandler     = this.CabFreeMem;
     this.fciOpenStreamHandler  = this.CabOpenStreamEx;
     this.fciReadStreamHandler  = this.CabReadStreamEx;
     this.fciWriteStreamHandler = this.CabWriteStreamEx;
     this.fciCloseStreamHandler = this.CabCloseStreamEx;
     this.fciSeekStreamHandler  = this.CabSeekStreamEx;
     this.fciFilePlacedHandler  = this.CabFilePlaced;
     this.fciDeleteFileHandler  = this.CabDeleteFile;
     this.fciGetTempFileHandler = this.CabGetTempFile;
     this.fciGetNextCabinet     = this.CabGetNextCabinet;
     this.fciCreateStatus       = this.CabCreateStatus;
     this.fciGetOpenInfo        = this.CabGetOpenInfo;
     this.tempStreams           = new List <Stream>();
     this.compressionLevel      = CompressionLevel.Normal;
 }