/// <summary> /// Disposes the object. /// </summary> public void Dispose() { m_disposed = true; if (m_messageContext != null) { try { m_messageContext.Dispose(); m_messageContext = null; } catch { } } }
/// <summary> /// Constructor. /// </summary> /// <param name="exeDir">The directory of the executable. The metadata /// database will be located within.</param> public MetadataManager(string exeDir) { m_messageContext = new DbMetadataContext(exeDir); }