Update comments to use correct class name. (#937)
This commit is contained in:
parent
1e8a22dae3
commit
2b9516703b
|
|
@ -45,7 +45,7 @@ namespace Microsoft.AspNetCore.Http.Internal
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get or sets the associated value from the collection as a single string.
|
/// Get or sets the associated value from the collection as a single string.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="key">The header name.</param>
|
/// <param name="key">The key name.</param>
|
||||||
/// <returns>the associated value from the collection as a StringValues or StringValues.Empty if the key is not present.</returns>
|
/// <returns>the associated value from the collection as a StringValues or StringValues.Empty if the key is not present.</returns>
|
||||||
public StringValues this[string key]
|
public StringValues this[string key]
|
||||||
{
|
{
|
||||||
|
|
@ -66,9 +66,9 @@ namespace Microsoft.AspNetCore.Http.Internal
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the number of elements contained in the <see cref="HeaderDictionary" />;.
|
/// Gets the number of elements contained in the <see cref="QueryCollection" />;.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>The number of elements contained in the <see cref="HeaderDictionary" />.</returns>
|
/// <returns>The number of elements contained in the <see cref="QueryCollection" />.</returns>
|
||||||
public int Count
|
public int Count
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|
@ -94,10 +94,10 @@ namespace Microsoft.AspNetCore.Http.Internal
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines whether the <see cref="HeaderDictionary" /> contains a specific key.
|
/// Determines whether the <see cref="QueryCollection" /> contains a specific key.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="key">The key.</param>
|
/// <param name="key">The key.</param>
|
||||||
/// <returns>true if the <see cref="HeaderDictionary" /> contains a specific key; otherwise, false.</returns>
|
/// <returns>true if the <see cref="QueryCollection" /> contains a specific key; otherwise, false.</returns>
|
||||||
public bool ContainsKey(string key)
|
public bool ContainsKey(string key)
|
||||||
{
|
{
|
||||||
if (Store == null)
|
if (Store == null)
|
||||||
|
|
@ -108,11 +108,11 @@ namespace Microsoft.AspNetCore.Http.Internal
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Retrieves a value from the dictionary.
|
/// Retrieves a value from the collection.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="key">The header name.</param>
|
/// <param name="key">The key.</param>
|
||||||
/// <param name="value">The value.</param>
|
/// <param name="value">The value.</param>
|
||||||
/// <returns>true if the <see cref="HeaderDictionary" /> contains the key; otherwise, false.</returns>
|
/// <returns>true if the <see cref="QueryCollection" /> contains the key; otherwise, false.</returns>
|
||||||
public bool TryGetValue(string key, out StringValues value)
|
public bool TryGetValue(string key, out StringValues value)
|
||||||
{
|
{
|
||||||
if (Store == null)
|
if (Store == null)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue