/// <summary> /// <inheritdoc cref="ICookieJar.DeleteCookie(Cookie)" /> /// </summary> public void DeleteCookie([NotNull] Cookie cookie) { if (cookie == null) { throw new ArgumentNullException(nameof(cookie)); } CookieJarImplementation.DeleteCookie(cookie); }
/// <summary> /// <inheritdoc cref="ICookieJar.DeleteCookieNamed(string)" /> /// </summary> public void DeleteCookieNamed([NotNull] string name) { if (name == null) { throw new ArgumentNullException(nameof(name)); } CookieJarImplementation.DeleteCookieNamed(name); }
/// <summary> /// <inheritdoc cref="ICookieJar.GetCookieNamed(string)" /> /// </summary> public Cookie GetCookieNamed([NotNull] string name) { if (name == null) { throw new ArgumentNullException(nameof(name)); } return(CookieJarImplementation.GetCookieNamed(name)); }
/// <summary> /// <inheritdoc cref="ICookieJar.DeleteAllCookies()" /> /// </summary> public void DeleteAllCookies() { CookieJarImplementation.DeleteAllCookies(); }