public void Dispose() { if (Strategies.Count() == 0) { return; } foreach (var item in Strategies) { item.Value.Dispose(); } }