/src/NUnit/util/Interfaces/IRuntimeFrameworkSelector.cs

# · C# · 23 lines · 9 code · 1 blank · 13 comment · 0 complexity · 04cafa00e31f5f9f19ec7d99e82513c5 MD5 · raw file

  1. // ****************************************************************
  2. // Copyright 2010, Charlie Poole
  3. // This is free software licensed under the NUnit license. You may
  4. // obtain a copy of the license at http://nunit.org
  5. // ****************************************************************
  6. using System;
  7. using NUnit.Core;
  8. namespace NUnit.Util
  9. {
  10. interface IRuntimeFrameworkSelector
  11. {
  12. /// <summary>
  13. /// Selects a target runtime framework for a TestPackage based on
  14. /// the settings in the package and the assemblies themselves.
  15. /// The package RuntimeFramework setting may be updated as a
  16. /// result and the selected runtime is returned.
  17. /// </summary>
  18. /// <param name="package">A TestPackage</param>
  19. /// <returns>The selected RuntimeFramework</returns>
  20. RuntimeFramework SelectRuntimeFramework(TestPackage package);
  21. }
  22. }