/
aprogrammer
/
reverse-proxy-ms-yarp
Обзор
Документация
Войти
/
aprogrammer
/
reverse-proxy-ms-yarp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/ReverseProxy/Transforms/Builder/TransformRouteValidationContext.cs
30 строк
894 B
Kahbazi
File Scoped Namespaces (#1352)
12 ноя 2021, 21:53
Не верифицирован
12 ноя 2021, 21:53
44f13d9
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using Yarp.ReverseProxy.Configuration; namespace Yarp.ReverseProxy.Transforms.Builder; /// <summary> /// State used when validating transforms for the given route. /// </summary> public class TransformRouteValidationContext { /// <summary> /// Application services that can be used to validate transforms. /// </summary> public IServiceProvider Services { get; init; } = default!; /// <summary> /// The route these transforms are associated with. /// </summary> public RouteConfig Route { get; init; } = default!; /// <summary> /// The accumulated list of validation errors for this route. /// Add transform validation errors here. /// </summary> public IList<Exception> Errors { get; } = new List<Exception>(); }