IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
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... | |
![]() | |
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 | |
![]() | |
virtual void | Dispose (bool disposing) |
![]() | |
bool | _disposed = false |
![]() | |
IServiceLocator | ServiceContext [get, set] |
The ServiceContext More... | |
ServiceStatus | Status [get, protected set] |
Gets the ServiceStatus of this service More... | |
![]() | |
IServiceLocator | ServiceContext [get, set] |
The ServiceContext More... | |
ServiceStatus | Status [get] |
Gets the ServiceStatus of this service More... | |
|
inline |
Returns true if the runtime framework represented by the string passed as an argument is available.
name | A string representing a framework, like 'net-4.0' |
Implements NUnit.Engine.IRuntimeFrameworkService.
References NUnit.Engine.RuntimeFramework.AvailableFrameworks, and NUnit.Engine.RuntimeFramework.Parse().
|
inlinestaticprivate |
|
inline |
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.
package | A TestPackage |
Implements NUnit.Engine.IRuntimeFrameworkService.
References NUnit.Engine.RuntimeFramework.CurrentFramework, NUnit.Common.Logger.Debug(), NUnit.Engine.RuntimeFramework.DefaultVersion, NUnit.Engine.RuntimeFramework.FrameworkVersion, NUnit.Engine.Internal.PathUtils.IsAssemblyFileType(), NUnit.Engine.RuntimeFramework.IsAvailable, NUnit.Engine.RuntimeFramework.Parse(), NUnit.Common.PackageSettings.RunAsX86, NUnit.Engine.RuntimeFramework.Runtime, NUnit.Common.PackageSettings.RuntimeFramework, NUnit.Engine.TestPackage.Settings, NUnit.Engine.TestPackage.SubPackages, and NUnit.Engine.RuntimeFramework.ToString().
Referenced by NUnit.Engine.Services.Tests.RuntimeFrameworkServiceTests.SelectRuntimeFramework().
|
staticprivate |
|
staticprivate |