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); }
public void Add(HttpCookie cookie) { //this.cookies.Add(cookie.Key.ToString(), cookie); // ??? is this work??? this.cookies[cookie.Key] = cookie; }
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; }