/
aprogrammer
/
reverse-proxy-ms-yarp
Обзор
Документация
Войти
/
aprogrammer
/
reverse-proxy-ms-yarp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/ReverseProxy/Configuration/ConfigProvider/ConfigurationSnapshot.cs
21 строка
686 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.Collections.Generic; using Microsoft.Extensions.Primitives; namespace Yarp.ReverseProxy.Configuration.ConfigProvider; internal sealed class ConfigurationSnapshot : IProxyConfig { public List<RouteConfig> Routes { get; internal set; } = new List<RouteConfig>(); public List<ClusterConfig> Clusters { get; internal set; } = new List<ClusterConfig>(); IReadOnlyList<RouteConfig> IProxyConfig.Routes => Routes; IReadOnlyList<ClusterConfig> IProxyConfig.Clusters => Clusters; // This field is required. public IChangeToken ChangeToken { get; internal set; } = default!; }