Unosquare
    Show / Hide Table of Contents

    Class CookieList

    Provides a collection container for instances of .

    This class is meant to be used internally by EmbedIO; you don't need to use this class directly.

    Inheritance
    Object
    CookieList
    Implements
    ICookieCollection
    IEnumerable<Cookie>
    ICollection
    Namespace: EmbedIO.Net
    Syntax
    public sealed class CookieList : List<Cookie>, ICookieCollection, IEnumerable<Cookie>, ICollection

    Properties

    IsSynchronized

    Declaration
    public bool IsSynchronized { get; }
    Property Value
    Type Description
    Boolean

    Item[String]

    Gets the with the specified name.

    Declaration
    public 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
    public void Add(Cookie cookie)
    Parameters
    Type Name Description
    Cookie cookie

    The cookie.

    CopyTo(Array, Int32)

    Declaration
    public void CopyTo(Array array, int index)
    Parameters
    Type Name Description
    Array array
    Int32 index

    Parse(String)

    Creates a CookieList by parsing the value of one or more Cookie or Set-Cookie headers.

    Declaration
    public static CookieList Parse(string headerValue)
    Parameters
    Type Name Description
    String headerValue

    The value, or comma-separated list of values, of the header or headers.

    Returns
    Type Description
    CookieList

    A newly-created instance of CookieList.

    Implements

    ICookieCollection
    IEnumerable<>
    ICollection

    Comments

    Back to top Copyright © 2017-2019 Unosquare