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.Services.RuntimeFrameworkService Class Reference
+ Inheritance diagram for NUnit.Engine.Services.RuntimeFrameworkService:
+ Collaboration diagram for NUnit.Engine.Services.RuntimeFrameworkService:

Public Member Functions

bool IsAvailable (string name)
 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 a string representing the selected runtime is returned. More...
 
- Public Member Functions inherited from NUnit.Engine.Services.Service
virtual void StartService ()
 Initialize the Service More...
 
virtual void StopService ()
 Do any cleanup needed before terminating the service More...
 
void Dispose ()
 

Static Private Member Functions

static bool FrameworksMatch (RuntimeFramework f1, RuntimeFramework f2)
 

Static Private Attributes

static Logger log = InternalTrace.GetLogger(typeof(RuntimeFrameworkService))
 
static readonly Version AnyVersion = new Version(0, 0)
 

Additional Inherited Members

- Protected Member Functions inherited from NUnit.Engine.Services.Service
virtual void Dispose (bool disposing)
 
- Protected Attributes inherited from NUnit.Engine.Services.Service
bool _disposed = false
 
- Properties inherited from NUnit.Engine.Services.Service
IServiceLocator ServiceContext [get, set]
 The ServiceContext More...
 
ServiceStatus Status [get, protected set]
 Gets the ServiceStatus of this service More...
 
- Properties inherited from NUnit.Engine.IService
IServiceLocator ServiceContext [get, set]
 The ServiceContext More...
 
ServiceStatus Status [get]
 Gets the ServiceStatus of this service More...
 

Member Function Documentation

bool NUnit.Engine.Services.RuntimeFrameworkService.IsAvailable ( string  name)
inline

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

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

Implements NUnit.Engine.IRuntimeFrameworkService.

References NUnit.Engine.RuntimeFramework.AvailableFrameworks, and NUnit.Engine.RuntimeFramework.Parse().

static bool NUnit.Engine.Services.RuntimeFrameworkService.FrameworksMatch ( RuntimeFramework  f1,
RuntimeFramework  f2 
)
inlinestaticprivate

Member Data Documentation

Logger NUnit.Engine.Services.RuntimeFrameworkService.log = InternalTrace.GetLogger(typeof(RuntimeFrameworkService))
staticprivate
readonly Version NUnit.Engine.Services.RuntimeFrameworkService.AnyVersion = new Version(0, 0)
staticprivate

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