Beispiel #1
0
 private void FreeArchiveExtractCallback(ArchiveExtractCallback callback)
 {
     callback.Open -= ((s, e) => { _unpackedSize = (long)e.TotalSize; });
     callback.FileExtractionStarted -= FileExtractionStartedEventProxy;
     callback.FileExtractionFinished -= FileExtractionFinishedEventProxy;
     callback.Extracting -= ExtractingEventProxy;
     callback.FileExists -= FileExistsEventProxy;
 }
Beispiel #2
0
 private void ArchiveExtractCallbackCommonInit(ArchiveExtractCallback aec)
 {
     aec.Open += ((s, e) => { _unpackedSize = (long)e.TotalSize; });
     aec.FileExtractionStarted += FileExtractionStartedEventProxy;
     aec.FileExtractionFinished += FileExtractionFinishedEventProxy;            
     aec.Extracting += ExtractingEventProxy;
     aec.FileExists += FileExistsEventProxy;
 }