888752fa0a
* Centralize Python/C# model detection logic * Improve helper method * Remove unnecessary conditionals * Fix unit tests * Refactor QCAlgorithm.python.cs to use the new helper method for models * Solve review comments * Clean up Python wrapper exception * Update XML comments to better describe T and TWrapper in CreateModelOrWrapper * Join unit tests in TestCases * Solve review comments * Replace manual TryConvert checks with CreateInstanceOrWrapper helper