Commas in doc comments
This commit is contained in:
parent
ab0dbaa347
commit
b85ed9d5cd
|
|
@ -20,7 +20,7 @@ namespace Microsoft.AspNetCore.Http
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Quotes any values containing comas, and then coma joins all of the values with any existing values.
|
/// Quotes any values containing commas, and then comma joins all of the values with any existing values.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param>
|
/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param>
|
||||||
/// <param name="key">The header name.</param>
|
/// <param name="key">The header name.</param>
|
||||||
|
|
@ -43,7 +43,7 @@ namespace Microsoft.AspNetCore.Http
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Quotes any values containing comas, and then coma joins all of the values.
|
/// Quotes any values containing commas, and then comma joins all of the values.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param>
|
/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param>
|
||||||
/// <param name="key">The header name.</param>
|
/// <param name="key">The header name.</param>
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ namespace Microsoft.AspNetCore.Http.Internal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Quote items that contain comas and are not already quoted.
|
// Quote items that contain commas and are not already quoted.
|
||||||
private static string QuoteIfNeeded(string value)
|
private static string QuoteIfNeeded(string value)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(value) &&
|
if (!string.IsNullOrEmpty(value) &&
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue