Crisis.Ionic.Zip.ZipEntry.OnBeforeExtract C# (CSharp) Method

OnBeforeExtract() private method

private OnBeforeExtract ( string path ) : void
path string
return void
        private void OnBeforeExtract(string path)
        {
            // When in the context of a ZipFile.ExtractAll, the events are generated from
            // the ZipFile method, not from within the ZipEntry instance. (why?)
            // Therefore we suppress the events originating from the ZipEntry method.
            if (_container.ZipFile != null)
            {
                if (!_container.ZipFile._inExtractAll)
                {
                    _ioOperationCanceled = _container.ZipFile.OnSingleEntryExtract(this, path, true);
                }
            }
        }
ZipEntry