コード例 #1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Parses the idh files. This is done on a background thread.
        /// </summary>
        /// <param name="obj">List of IDH file names.</param>
        /// ------------------------------------------------------------------------------------
        private void ParseIdhFiles(object obj)
        {
            StringCollection idhFiles = obj as StringCollection;

            // Create IDH processor that will provide the comments from the IDH file
            s_idhProcessor = new IdhCommentProcessor(idhFiles);

            if (m_waitHandle != null)
            {
                m_waitHandle.Set();
            }
        }
コード例 #2
0
ファイル: IDLImporter.cs プロジェクト: sillsdev/WorldPad
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Parses the idh files. This is done on a background thread.
		/// </summary>
		/// <param name="obj">List of IDH file names.</param>
		/// ------------------------------------------------------------------------------------
		private void ParseIdhFiles(object obj)
		{
			StringCollection idhFiles = obj as StringCollection;

			// Create IDH processor that will provide the comments from the IDH file
			s_idhProcessor = new IdhCommentProcessor(idhFiles);

			if (m_waitHandle != null)
				m_waitHandle.Set();
		}