/// <summary>
        /// Returns an engine with the specified name.
        /// </summary>
        /// <param name="engineName">The name of the engine.</param>
        /// <returns>The corresponding SearchEngine object, or null if it doesn't exist.</returns>
        public static SearchEngine GetEngineByName(string engineName)
        {
            var ret = nsString.Pass <nsISearchEngine>(_browserSearchService.Instance.GetEngineByName, engineName);

            return(SearchEngine.Create(ret));
        }
        /// <summary>
        /// Returns an engine with the specified alias.
        /// </summary>
        /// <param name="alias">The search engine's alias.</param>
        /// <returns>The corresponding SearchEngine object, or null if it doesn't exist.</returns>
        public static SearchEngine GetEngineByAlias(string alias)
        {
            var ret = nsString.Pass <nsISearchEngine>(_browserSearchService.Instance.GetEngineByAlias, alias);

            return(SearchEngine.Create(ret));
        }