public override void OnEndOfAlgorithm() { if (_optionCount == 0) { throw new Exception("Option universe chain did not add any option!"); } if (UniverseManager.Any(pair => pair.Value.DisposeRequested)) { throw new Exception("There shouldn't be any disposed universe, they should be removed and replaced by new universes"); } }