IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Engine.IRuntimeFrameworkService Interface Reference

Implemented by a type that provides information about the current and other available runtimes. More...

+ Inheritance diagram for NUnit.Engine.IRuntimeFrameworkService:

Public Member Functions

bool IsAvailable (string framework)
 Returns true if the runtime framework represented by the string passed as an argument is available. More...
 
string SelectRuntimeFramework (TestPackage package)
 Selects a target runtime framework for a TestPackage based on the settings in the package and the assemblies themselves. The package RuntimeFramework setting may be updated as a result and the selected runtime is returned. More...
 

Detailed Description

Implemented by a type that provides information about the current and other available runtimes.

Member Function Documentation

bool NUnit.Engine.IRuntimeFrameworkService.IsAvailable ( string  framework)

Returns true if the runtime framework represented by the string passed as an argument is available.

Parameters
frameworkA string representing a framework, like 'net-4.0'
Returns
True if the framework is available, false if unavailable or nonexistent

Implemented in NUnit.Engine.Services.RuntimeFrameworkService, and NUnit.Engine.Services.Tests.Fakes.FakeRuntimeService.

string NUnit.Engine.IRuntimeFrameworkService.SelectRuntimeFramework ( TestPackage  package)

Selects a target runtime framework for a TestPackage based on the settings in the package and the assemblies themselves. The package RuntimeFramework setting may be updated as a result and the selected runtime is returned.

Parameters
packageA TestPackage
Returns
The selected RuntimeFramework

Implemented in NUnit.Engine.Services.RuntimeFrameworkService, and NUnit.Engine.Services.Tests.Fakes.FakeRuntimeService.

Referenced by NUnit.Engine.Services.TestAgency.LaunchAgentProcess().


The documentation for this interface was generated from the following file: