示例#1
0
        public static int?CookiesGetInt(this MainContext context, string key)
        {
            int result;

            if (int.TryParse(context.CookiesGet(key), out result))
            {
                return(result);
            }
            return(null);
        }