/
aprogrammer
/
reverse-proxy-ms-yarp
Обзор
Документация
Войти
/
aprogrammer
/
reverse-proxy-ms-yarp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/ReverseProxy/Utilities/IRandomFactory.cs
18 строк
472 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; namespace Yarp.ReverseProxy.Utilities; /// <summary> /// Factory for creating random class. This factory let us able to inject random class into other class. /// So that we can mock the random class for unit test. /// </summary> public interface IRandomFactory { /// <summary> /// Create a instance of random class. /// </summary> Random CreateRandomInstance(); }