Example #1
0
 private static bool ValidateCookieVal(this HttpCookie c, CookieVals val, int dataTypeId)
 {
     return(dataTypeId == 0 ? false : (c.Values.Keys.Cast <string>().Where(x => x == string.Concat(val, "_", dataTypeId)).Any()));
 }
 private static bool ValidateCookieVal(this HttpCookie c, CookieVals val, int dataTypeId)
 {
     return dataTypeId == 0 ? false : (c.Values.Keys.Cast<string>().Where(x => x == string.Concat(val, "_", dataTypeId)).Any());
 }