コード例 #1
0
 private void FreeCompressionCallback(ArchiveUpdateCallback callback)
 {
     callback.FileCompressionStarted -= FileCompressionStartedEventProxy;
     callback.Compressing -= CompressingEventProxy;
     callback.FileCompressionFinished -= FileCompressionFinishedEventProxy;
 }
コード例 #2
0
 /// <summary>
 /// Performs the common ArchiveUpdateCallback initialization.
 /// </summary>
 /// <param name="auc">The ArchiveUpdateCallback instance to initialize.</param>
 private void CommonUpdateCallbackInit(ArchiveUpdateCallback auc)
 {
     auc.FileCompressionStarted += FileCompressionStartedEventProxy;
     auc.Compressing += CompressingEventProxy;
     auc.FileCompressionFinished += FileCompressionFinishedEventProxy;
     auc.DefaultItemName = DefaultItemName;
     auc.FastCompression = FastCompression;
 }