IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Summary description for ProjectService. More...
Public Member Functions | |
bool | CanLoadFrom (string path) |
Returns true if the file indicated is one that this loader knows how to load. More... | |
void | ExpandProjectPackage (TestPackage package) |
Expands a TestPackage based on a known project format, populating it with the project contents and any settings the project provides. Note that the package file path must be checked to ensure that it is a known project format before calling this method. More... | |
override void | StartService () |
Initialize the Service More... | |
![]() | |
virtual void | StopService () |
Do any cleanup needed before terminating the service More... | |
void | Dispose () |
Private Member Functions | |
IProject | LoadFrom (string path) |
ExtensionNode | GetNodeForPath (string path) |
Private Attributes | |
Dictionary< string, ExtensionNode > | _extensionIndex = new Dictionary<string, ExtensionNode>() |
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... | |
Summary description for ProjectService.
|
inline |
Returns true if the file indicated is one that this loader knows how to load.
path | The path of the project file |
Implements NUnit.Engine.Services.IProjectService.
References NUnit.Engine.Extensibility.ExtensionNode.ExtensionObject.
|
inline |
Expands a TestPackage based on a known project format, populating it with the project contents and any settings the project provides. Note that the package file path must be checked to ensure that it is a known project format before calling this method.
package | The TestPackage to be expanded |
Implements NUnit.Engine.Services.IProjectService.
References NUnit.Common.PackageSettings.ActiveConfig, NUnit.Common.Guard.ArgumentNotNull(), NUnit.Common.Guard.ArgumentValid(), NUnit.Common.PackageSettings.ConfigurationFile, NUnit.Engine.TestPackage.FullName, NUnit.Engine.Extensibility.IProject.GetTestPackage(), NUnit.Engine.TestPackage.Settings, and NUnit.Engine.TestPackage.SubPackages.
|
inlinevirtual |
Initialize the Service
Reimplemented from NUnit.Engine.Services.Service.
References NUnit.Engine.ServiceContext.GetService().
|
inlineprivate |
|
inlineprivate |
|
private |