/// <summary> /// 获取词条 /// </summary> /// <param name="title">词条名</param> public bool IsExists(string title) { if (string.IsNullOrEmpty(title)) { return(false); } else { return(PageIdToTitleDictionary.GetPageId(title.Trim()) > 0); } }
/// <summary> /// 获取词条 /// </summary> /// <param name="title">词条名</param> public bool IsExists(string title) { if (string.IsNullOrEmpty(title)) { return(false); } else { return(PageIdToTitleDictionary.GetPageId(title.Trim()) > 0); } }