Update MiddlewareFilterBuilder.cs (#23793)

Comment grammar typo for _pipelinesCache
This commit is contained in:
Sean G. Wright 2020-07-14 20:29:49 -04:00 committed by GitHub
parent d75b4113ad
commit d05427580b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Mvc.Filters
/// </summary>
internal class MiddlewareFilterBuilder
{
// 'GetOrAdd' call on the dictionary is not thread safe and we might end up creating the pipeline more
// 'GetOrAdd' call on the dictionary is not thread safe and we might end up creating the pipeline more than
// once. To prevent this Lazy<> is used. In the worst case multiple Lazy<> objects are created for multiple
// threads but only one of the objects succeeds in creating a pipeline.
private readonly ConcurrentDictionary<Type, Lazy<RequestDelegate>> _pipelinesCache