internal DappleSearchAddServerDownload(String strUrl, NewServerTree.ServerModelNode.ServerType eType) { m_strNewServerUrl = strUrl; m_eType = eType; this.Url = MainForm.Settings.DappleSearchURL + "AddNewServer.aspx"; this.CompleteCallback = new DownloadCompleteHandler(DownloadComplete); }
/// <remarks> /// TODO: Move this into a separate DappleSearchInterface class, along with the communications in the /// DappleSearch list. /// </remarks> private static void SubmitServerToSearchEngine(String strUrl, NewServerTree.ServerModelNode.ServerType eType) { #if !DEBUG if (!MainApplication.Settings.UseDappleSearch) { return; } DappleSearchAddServerDownload oSubmission = new DappleSearchAddServerDownload(strUrl, eType); oSubmission.BackgroundDownloadMemory(); #endif }