Exemplo n.º 1
0
        /// <summary>
        ///     <inheritdoc cref="ICookieJar.DeleteCookie(Cookie)" />
        /// </summary>
        public void DeleteCookie([NotNull] Cookie cookie)
        {
            if (cookie == null)
            {
                throw new ArgumentNullException(nameof(cookie));
            }

            CookieJarImplementation.DeleteCookie(cookie);
        }
Exemplo n.º 2
0
        /// <summary>
        ///     <inheritdoc cref="ICookieJar.DeleteCookieNamed(string)" />
        /// </summary>
        public void DeleteCookieNamed([NotNull] string name)
        {
            if (name == null)
            {
                throw new ArgumentNullException(nameof(name));
            }

            CookieJarImplementation.DeleteCookieNamed(name);
        }
Exemplo n.º 3
0
        /// <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));
        }
Exemplo n.º 4
0
 /// <summary>
 ///     <inheritdoc cref="ICookieJar.DeleteAllCookies()" />
 /// </summary>
 public void DeleteAllCookies()
 {
     CookieJarImplementation.DeleteAllCookies();
 }