示例#1
0
 public void AddCookie(HttpCookie httpCookie)
 {
     CoreValidator.ThrowIfNull(httpCookie, nameof(httpCookie));
     this.httpCookies.Add(httpCookie.Key, httpCookie);
 }
        public void AddCookie(HttpCookie httpCookie)
        {
            httpCookie.ThrowIfNull(nameof(httpCookie));

            this.httpCookies.Add(httpCookie.Key, httpCookie);
        }
示例#3
0
 public void Add(HttpCookie cookie)
 {
     //this.cookies.Add(cookie.Key.ToString(), cookie);  // ??? is this work???
     this.cookies[cookie.Key] = cookie;
 }
示例#4
0
 public void Add(HttpCookie cookie)
 {
     this.cookies.Add(cookie.Key, cookie);
 }
        public void Add(HttpCookie httpCookie)
        {
            CoreValidator.ThrowIfNull(httpCookie, nameof(httpCookie));

            this.httpCookies[httpCookie.Key] = httpCookie;
        }