An abstract class for performing indexing and searching asynchronously.
상속: SIL.Utils.FwDisposableBase, IVwNotifyChange
예제 #1
0
		/// <summary>
		/// Initialize the control, creating the BrowseViewer among other things.
		/// </summary>
		/// <param name="cache">The cache.</param>
		/// <param name="stylesheet">The stylesheet.</param>
		/// <param name="mediator">The mediator.</param>
		/// <param name="configNode">The config node.</param>
		/// <param name="searchEngine">The search engine.</param>
		/// <param name="reversalWs">The reversal writing system.</param>
		public void Initialize(FdoCache cache, IVwStylesheet stylesheet, Mediator mediator, XmlNode configNode,
			SearchEngine searchEngine, IWritingSystem reversalWs)
		{
			CheckDisposed();

			m_cache = cache;
			m_stylesheet = stylesheet;
			m_mediator = mediator;
			m_searchEngine = searchEngine;
			m_searchEngine.SearchCompleted += m_searchEngine_SearchCompleted;

			SuspendLayout();
			CreateBrowseViewer(configNode, reversalWs);
			ResumeLayout(false);
		}
예제 #2
0
 /// <summary>
 /// Initialize the control, creating the BrowseViewer among other things.
 /// </summary>
 /// <param name="cache">The cache.</param>
 /// <param name="stylesheet">The stylesheet.</param>
 /// <param name="mediator">The mediator.</param>
 /// <param name="propertyTable"></param>
 /// <param name="configNode">The config node.</param>
 /// <param name="searchEngine">The search engine.</param>
 public void Initialize(LcmCache cache, IVwStylesheet stylesheet, Mediator mediator, PropertyTable propertyTable, XmlNode configNode,
                        SearchEngine searchEngine)
 {
     Initialize(cache, stylesheet, mediator, propertyTable, configNode, searchEngine, null);
 }
예제 #3
0
		/// <summary>
		/// Initialize the control, creating the BrowseViewer among other things.
		/// </summary>
		/// <param name="cache">The cache.</param>
		/// <param name="stylesheet">The stylesheet.</param>
		/// <param name="mediator">The mediator.</param>
		/// <param name="configNode">The config node.</param>
		/// <param name="searchEngine">The search engine.</param>
		public void Initialize(FdoCache cache, IVwStylesheet stylesheet, Mediator mediator, XmlNode configNode,
			SearchEngine searchEngine)
		{
			Initialize(cache, stylesheet, mediator, configNode, searchEngine, null);
		}
예제 #4
0
 /// <summary>
 /// Initialize the control, creating the BrowseViewer among other things.
 /// </summary>
 /// <param name="cache">The cache.</param>
 /// <param name="stylesheet">The stylesheet.</param>
 /// <param name="mediator">The mediator.</param>
 /// <param name="configNode">The config node.</param>
 /// <param name="searchEngine">The search engine.</param>
 public void Initialize(FdoCache cache, IVwStylesheet stylesheet, Mediator mediator, XmlNode configNode,
                        SearchEngine searchEngine)
 {
     Initialize(cache, stylesheet, mediator, configNode, searchEngine, null);
 }