PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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// ****************************************************************
 6using System;
 7using NUnit.Core;
 8
 9namespace NUnit.Util
10{
11    interface IRuntimeFrameworkSelector
12    {
13        /// <summary>
14        /// Selects a target runtime framework for a TestPackage based on
15        /// the settings in the package and the assemblies themselves.
16        /// The package RuntimeFramework setting may be updated as a 
17        /// result and the selected runtime is returned.
18        /// </summary>
19        /// <param name="package">A TestPackage</param>
20        /// <returns>The selected RuntimeFramework</returns>
21        RuntimeFramework SelectRuntimeFramework(TestPackage package);
22    }
23}