private void FreeCompressionCallback(ArchiveUpdateCallback callback) { callback.FileCompressionStarted -= FileCompressionStartedEventProxy; callback.Compressing -= CompressingEventProxy; callback.FileCompressionFinished -= FileCompressionFinishedEventProxy; }
/// <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; }