Files
shadowsocks-windows/shadowsocks-csharp/Controller/Strategy/StrategyManager.cs
T
2015-07-22 15:58:39 +08:00

22 lines
541 B
C#

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));
}
public IList<IStrategy> GetStrategies()
{
return _strategies;
}
}
}