/
githubmirror
/
shadowsocks-windows
Обзор
Документация
Войти
/
githubmirror
/
shadowsocks-windows
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v4
shadowsocks-csharp/Controller/Strategy/StrategyManager.cs
23 строки
652 B
database64128
🧹 Remove statistics strategy
19 окт 2020, 14:44
Не верифицирован
19 окт 2020, 14:44
5c6e5b9
Код
Авторство
О чём код?
using Shadowsocks.Controller; using System; using System.Collections.Generic; using System.Text; namespace Shadowsocks.Controller.Strategy { class StrategyManager { List<IStrategy> _strategies; public StrategyManager(ShadowsocksController controller) { _strategies = new List<IStrategy>(); _strategies.Add(new BalancingStrategy(controller)); _strategies.Add(new HighAvailabilityStrategy(controller)); // TODO: load DLL plugins } public IList<IStrategy> GetStrategies() { return _strategies; } } }