/
aprogrammer
/
reverse-proxy-ms-yarp
Обзор
Документация
Войти
/
aprogrammer
/
reverse-proxy-ms-yarp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/ReverseProxy/Model/ClusterDestinationsState.cs
22 строки
747 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; namespace Yarp.ReverseProxy.Model; public sealed class ClusterDestinationsState { public ClusterDestinationsState( IReadOnlyList<DestinationState> allDestinations, IReadOnlyList<DestinationState> availableDestinations) { AllDestinations = allDestinations ?? throw new ArgumentNullException(nameof(allDestinations)); AvailableDestinations = availableDestinations ?? throw new ArgumentNullException(nameof(availableDestinations)); } public IReadOnlyList<DestinationState> AllDestinations { get; } public IReadOnlyList<DestinationState> AvailableDestinations { get; } }