/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Components/test/testassets/Components.TestServer/ResourceRequestLog.cs
21 строка
508 B
Steve Sanderson
Streaming SSR: DOM updating (#47605)
08 апр 2023, 01:43
Не верифицирован
08 апр 2023, 01:43
a419b22
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace TestServer; public class ResourceRequestLog { private readonly List<string> _requestPaths = new List<string>(); public IReadOnlyCollection<string> RequestPaths => _requestPaths; public void AddRequest(HttpRequest request) { _requestPaths.Add(request.Path); } public void Clear() { _requestPaths.Clear(); } }