Unosquare
    Show / Hide Table of Contents

    Interface ICookieCollection

    Interface for Cookie Collection.

    Namespace: EmbedIO
    Syntax
    public interface ICookieCollection : IEnumerable<Cookie>, ICollection

    Properties

    Item[String]

    Gets the with the specified name.

    Declaration
    Cookie? this[string name] { get; }
    Parameters
    Type Name Description
    String name

    The name.

    Property Value
    Type Description
    Nullable<Cookie>

    The .

    Methods

    Add(Cookie)

    Adds the specified cookie.

    Declaration
    void Add(Cookie cookie)
    Parameters
    Type Name Description
    Cookie cookie

    The cookie.

    Contains(Cookie)

    Determines whether this ICookieCollection contains the specified .

    Declaration
    bool Contains(Cookie cookie)
    Parameters
    Type Name Description
    Cookie cookie

    The cookie to find in the ICookieCollection.

    Returns
    Type Description
    Boolean

    true if this ICookieCollection contains the specified cookie; otherwise, false.

    CopyTo(Cookie[], Int32)

    Copies the elements of this ICookieCollection to a array starting at the specified index of the target array.

    Declaration
    void CopyTo(Cookie[] array, int index)
    Parameters
    Type Name Description
    Cookie[] array

    The target array to which the ICookieCollection will be copied.

    Int32 index

    The zero-based index in the target array where copying begins.

    Comments

    Back to top Copyright © 2017-2019 Unosquare