/
aprogrammer
/
reverse-proxy-ms-yarp
Обзор
Документация
Войти
/
aprogrammer
/
reverse-proxy-ms-yarp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/ReverseProxy/Model/DestinationHealthState.cs
31 строка
681 B
Kahbazi
File Scoped Namespaces (#1352)
12 ноя 2021, 21:53
Не верифицирован
12 ноя 2021, 21:53
44f13d9
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace Yarp.ReverseProxy.Model; /// <summary> /// Tracks destination passive and active health states. /// </summary> public class DestinationHealthState { private volatile DestinationHealth _active; private volatile DestinationHealth _passive; /// <summary> /// Passive health state. /// </summary> public DestinationHealth Passive { get => _passive; set => _passive = value; } /// <summary> /// Active health state. /// </summary> public DestinationHealth Active { get => _active; set => _active = value; } }