/// <summary> /// 是否存在参数 /// </summary> /// <param name="key">参数名称</param> /// <returns>存在返回true</returns> public bool Contains(string key) { return(ParamData.Contains(p => p.Key.Equals(key))); }
/// <summary> /// 是否存在参数 /// </summary> /// <param name="key">参数名称</param> /// <returns>存在返回true</returns> public bool Contains(string key) { return(ParamData.Contains(p => p.Key.Equals(key) && p.UserID == UserID)); }