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.Extensibility.ExtensionPoint Class Reference

ExtensionPoint represents a single point in the TestEngine that may be extended by user addins and extensions. More...

Public Member Functions

 ExtensionPoint (string path, Type type)
 Construct an ExtensionPoint More...
 
void Install (ExtensionNode node)
 Install an extension at this extension point. If the extension node does not meet the requirements for this extension point, an exception is thrown. More...
 
void Remove (ExtensionNode extension)
 Removes an extension from this extension point. If the extension object is not present, the method returns without error. More...
 

Properties

string Path [get, private set]
 Gets the unique path identifying this extension point. More...
 
Type Type [get, private set]
 Gets the Type of any extension object to be installed at this extension point. More...
 
string Description [get, set]
 Gets and sets the optional description of this extension point. More...
 
List< ExtensionNodeExtensions [get, private set]
 Gets a list of ExtensionNodes for extensions installed on this extension point. More...
 

Detailed Description

ExtensionPoint represents a single point in the TestEngine that may be extended by user addins and extensions.

Constructor & Destructor Documentation

NUnit.Engine.Extensibility.ExtensionPoint.ExtensionPoint ( string  path,
Type  type 
)
inline

Construct an ExtensionPoint

Parameters
pathString that uniquely identifies the extension point.
typeRequired type of any extension object.

Member Function Documentation

void NUnit.Engine.Extensibility.ExtensionPoint.Install ( ExtensionNode  node)
inline

Install an extension at this extension point. If the extension node does not meet the requirements for this extension point, an exception is thrown.

References NUnit.Engine.Extensibility.ExtensionNode.Path.

Referenced by NUnit.Engine.Services.ExtensionService.FindExtensionsInAssembly().

void NUnit.Engine.Extensibility.ExtensionPoint.Remove ( ExtensionNode  extension)
inline

Removes an extension from this extension point. If the extension object is not present, the method returns without error.

Property Documentation

string NUnit.Engine.Extensibility.ExtensionPoint.Path
getprivate set

Gets the unique path identifying this extension point.

Referenced by NUnit.Engine.Services.ExtensionService.FindExtensionsInAssembly().

Type NUnit.Engine.Extensibility.ExtensionPoint.Type
getprivate set

Gets the Type of any extension object to be installed at this extension point.

string NUnit.Engine.Extensibility.ExtensionPoint.Description
getset

Gets and sets the optional description of this extension point.

List<ExtensionNode> NUnit.Engine.Extensibility.ExtensionPoint.Extensions
getprivate set

Gets a list of ExtensionNodes for extensions installed on this extension point.


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