Exemplo n.º 1
0
        internal TypeLibraryBrowserInfo(string filePath, ITypeLib typeLibrary, ComBrowserManager manager)
        {
            Debug.Assert(typeLibrary != null && manager != null, "typeLibrary != null && manager != null");

            m_filePath    = filePath;
            m_typeLibrary = new ComLibWrapper(typeLibrary);
            m_manager     = manager;
        }
Exemplo n.º 2
0
        public void Dispose()
        {
            if (m_typeLibrary != null)
            {
                m_typeLibrary.Dispose();
                m_typeLibrary = null;
            }

            ClearCache();
        }