예제 #1
0
        private void Dispose(bool disposing)
        {
            if (m_IPropertySystem != null)
            {
                if (!disposing)
                {
                    Debug.Fail("Failed to dispose PropertySystem");
                }

                Marshal.FinalReleaseComObject(m_IPropertySystem);
                m_IPropertySystem = null;
            }
            if (disposing)
            {
                GC.SuppressFinalize(this);
            }
        }
예제 #2
0
        private void Dispose(bool disposing)
        {
            if (m_IPropertySystem != null)
            {
                if (!disposing)
                {
                    Debug.Fail("Failed to dispose PropertySystem");
                }

                Marshal.FinalReleaseComObject(m_IPropertySystem);
                m_IPropertySystem = null;
            }
            if (disposing)
            {
                GC.SuppressFinalize(this);
            }
        }