Esempio n. 1
0
 /// <summary>
 /// 是否存在参数
 /// </summary>
 /// <param name="key">参数名称</param>
 /// <returns>存在返回true</returns>
 public bool Contains(string key)
 {
     return(ParamData.Contains(p => p.Key.Equals(key)));
 }
Esempio n. 2
0
 /// <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));
 }