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.ProjectService Class Reference

Summary description for ProjectService. More...

+ Inheritance diagram for NUnit.Engine.Services.ProjectService:
+ Collaboration diagram for NUnit.Engine.Services.ProjectService:

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...
 
- Public Member Functions inherited from NUnit.Engine.Services.Service
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

- 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...
 

Detailed Description

Summary description for ProjectService.

Member Function Documentation

bool NUnit.Engine.Services.ProjectService.CanLoadFrom ( string  path)
inline

Returns true if the file indicated is one that this loader knows how to load.

Parameters
pathThe path of the project file
Returns
True if the loader knows how to load this file, otherwise false

Implements NUnit.Engine.Services.IProjectService.

References NUnit.Engine.Extensibility.ExtensionNode.ExtensionObject.

void NUnit.Engine.Services.ProjectService.ExpandProjectPackage ( TestPackage  package)
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.

Parameters
packageThe 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.

override void NUnit.Engine.Services.ProjectService.StartService ( )
inlinevirtual

Initialize the Service

Reimplemented from NUnit.Engine.Services.Service.

References NUnit.Engine.ServiceContext.GetService().

IProject NUnit.Engine.Services.ProjectService.LoadFrom ( string  path)
inlineprivate
ExtensionNode NUnit.Engine.Services.ProjectService.GetNodeForPath ( string  path)
inlineprivate

Member Data Documentation

Dictionary<string, ExtensionNode> NUnit.Engine.Services.ProjectService._extensionIndex = new Dictionary<string, ExtensionNode>()
private

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