public void AddCookie(HttpCookie httpCookie) { httpCookie.ThrowIfNull(nameof(httpCookie)); if (!this.ContainsCookie(httpCookie.Key)) { this.httpCookies.Add(httpCookie.Key, httpCookie); } }
public void AddCookie(HttpCookie httpCookie) { httpCookie.ThrowIfNull(nameof(httpCookie)); this.httpCookies.Add(httpCookie.Key, httpCookie); }