Ejemplo n.º 1
0
        int IVsPackage.Close()
        {
            // We only want to call Dispose once, so we use this flag to indicate
            // that we're closing.
            if (!this.Closed)
            {
                this.Dispose();
            }
            this.closed = true;

            // Write the summary section to the trace log.
            Tracer.WriteSummary();
            return(NativeMethods.S_OK);
        }