Interface ICookieCollection
Interface for Cookie Collection.
Namespace: EmbedIO
Syntax
public interface ICookieCollection : IEnumerable<Cookie>, ICollection
Properties
Item[String]
Gets the
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 |
CopyTo(Cookie[], Int32)
Copies the elements of this ICookieCollection to a
Declaration
void CopyTo(Cookie[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
Cookie[] | array | The target |
Int32 | index | The zero-based index in the target |