KFreonLib.PCCObjects.ME2PCCObject.Dispose C# (CSharp) Метод

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void
        protected virtual void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    if (iexports != null)
                    {
                        try
                        {
                            foreach (ME2ExportEntry entry in iexports)
                                entry.Dispose();
                        }
                        catch { }
                    }

                    if (Exports != null)
                    {
                        try
                        {
                            foreach (ME2ExportEntry entry in Exports)
                                entry.Dispose();
                        }
                        catch { }
                    }

                    if (Imports != null)
                    {
                        try
                        {
                            foreach (ME2ImportEntry entry in Imports)
                                entry.Dispose();
                        }
                        catch { }
                    }

                    if (iimports != null)
                    {
                        try
                        {
                            foreach (ME2ImportEntry entry in iimports)
                                entry.Dispose();
                        }
                        catch { }
                    }

                    if (listsStream != null)
                        try
                        {
                            listsStream.Dispose();
                        }
                        catch { }

                    if (m != null)
                        try
                        {
                            m.Dispose();
                        }
                        catch { }
                }

                this.header = null;
                this.lzo = null;
                this.Names = null;

                disposedValue = true;
            }
        }

Same methods

ME2PCCObject::Dispose ( ) : void