RequestCookieCollection Class

Namespace
Microsoft.AspNetCore.Http.Internal
Assemblies
  • Microsoft.AspNetCore.Http

Syntax

public class RequestCookieCollection : IRequestCookieCollection, IEnumerable<KeyValuePair<string, string>>, IEnumerable
class Microsoft.AspNetCore.Http.Internal.RequestCookieCollection

Constructors

RequestCookieCollection()
public RequestCookieCollection()
RequestCookieCollection(System.Collections.Generic.Dictionary<System.String, System.String>)
public RequestCookieCollection(Dictionary<string, string> store)
RequestCookieCollection(System.Int32)
public RequestCookieCollection(int capacity)

Methods

ContainsKey(System.String)
Return type:System.Boolean
public bool ContainsKey(string key)
GetEnumerator()

Returns an struct enumerator that iterates through a collection without boxing.

Return type:Microsoft.AspNetCore.Http.Internal.RequestCookieCollection.Enumerator
Returns:An Microsoft.AspNetCore.Http.Internal.RequestCookieCollection.Enumerator object that can be used to iterate through the collection.
public RequestCookieCollection.Enumerator GetEnumerator()
Parse(System.Collections.Generic.IList<System.String>)
Return type:Microsoft.AspNetCore.Http.Internal.RequestCookieCollection
public static RequestCookieCollection Parse(IList<string> values)
GetEnumerator()

Returns an enumerator that iterates through a collection, boxes in non-empty path.

Return type:System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String>>
Returns:An System.Collections.Generic.IEnumerator`1 object that can be used to iterate through the collection.
IEnumerator<KeyValuePair<string, string>> IEnumerable<KeyValuePair<string, string>>.GetEnumerator()
GetEnumerator()

Returns an enumerator that iterates through a collection, boxes in non-empty path.

Return type:System.Collections.IEnumerator
Returns:An System.Collections.IEnumerator object that can be used to iterate through the collection.
IEnumerator IEnumerable.GetEnumerator()
TryGetValue(System.String, out System.String)
Return type:System.Boolean
public bool TryGetValue(string key, out string value)

Fields

Empty()
Return type:Microsoft.AspNetCore.Http.Internal.RequestCookieCollection
public static readonly RequestCookieCollection Empty

Properties

Microsoft.AspNetCore.Http.Internal.RequestCookieCollection.Count
Return type:System.Int32
public int Count { get; }
Microsoft.AspNetCore.Http.Internal.RequestCookieCollection.Item[System.String]
Return type:System.String
public string this[string key] { get; }
Microsoft.AspNetCore.Http.Internal.RequestCookieCollection.Keys
Return type:System.Collections.Generic.ICollection<System.String>
public ICollection<string> Keys { get; }