Esempio n. 1
0
            public void Dispose()
            {
                IVsHierarchy hierarchy = project as IVsHierarchy;

                if (null != hierarchy)
                {
                    hierarchy.Close();
                }
                project = null;

                if (null != services)
                {
                    services.Dispose();
                    services = null;
                }
            }
 public int Close()
 {
     return(_hierarchy.Close());
 }
Esempio n. 3
0
 /// <include file='doc\FlavoredProject.uex' path='docs/doc[@for="FlavoredProject.Close"]/*' />
 protected virtual void Close()
 {
     NativeMethods.ThrowOnFailure(innerVsHierarchy.Close());
 }
Esempio n. 4
0
 /// <include file='doc\FlavoredProject.uex' path='docs/doc[@for="FlavoredProject.Close"]/*' />
 protected virtual void Close()
 {
     ErrorHandler.ThrowOnFailure(_innerVsHierarchy.Close());
 }