The ExtensionNode class represents a single extension being installed on a particular extension point. It stores information needed to activate the extension object on a just-in-time basis.
More...
|
string | AssemblyPath [get] |
| Gets the path to the assembly where the extension is defined. More...
|
|
string | TypeName [get] |
| Gets the full name of the Type of the assembly object. More...
|
|
object | ExtensionObject [get] |
| Gets an object of the specified extension type, loading the Assembly and creating the object as needed. Note that this property always returns the same object. Use CreateExtensionObject if a new one is needed each time or to specify arguments. More...
|
|
string | Path [get, set] |
| Gets and sets the unique string identifying the ExtensionPoint for which this Extension is intended. This identifier may be supplied by the attribute marking the extension or deduced by NUnit from the Type of the extension class. More...
|
|
string | Description [get, set] |
| An optional description of what the extension does. More...
|
|
The ExtensionNode class represents a single extension being installed on a particular extension point. It stores information needed to activate the extension object on a just-in-time basis.
NUnit.Engine.Extensibility.ExtensionNode.ExtensionNode |
( |
string |
assemblyPath, |
|
|
string |
typeName |
|
) |
| |
|
inline |
Construct an ExtensionNode
- Parameters
-
assemblyPath | The path to the assembly where this extension is found. |
typeName | The full name of the Type of the extension object. |
object NUnit.Engine.Extensibility.ExtensionNode.CreateExtensionObject |
( |
params object[] |
args | ) |
|
|
inline |
void NUnit.Engine.Extensibility.ExtensionNode.AddProperty |
( |
string |
name, |
|
|
string |
val |
|
) |
| |
|
inline |
IEnumerable<string> NUnit.Engine.Extensibility.ExtensionNode.GetProperties |
( |
string |
name | ) |
|
|
inline |
string NUnit.Engine.Extensibility.ExtensionNode.GetProperty |
( |
string |
name | ) |
|
|
inline |
object NUnit.Engine.Extensibility.ExtensionNode._extensionObject |
|
private |
string NUnit.Engine.Extensibility.ExtensionNode._assemblyPath |
|
private |
string NUnit.Engine.Extensibility.ExtensionNode._typeName |
|
private |
Dictionary<string, List<string> > NUnit.Engine.Extensibility.ExtensionNode._properties = new Dictionary<string, List<string>>() |
|
private |
string NUnit.Engine.Extensibility.ExtensionNode.AssemblyPath |
|
get |
Gets the path to the assembly where the extension is defined.
string NUnit.Engine.Extensibility.ExtensionNode.TypeName |
|
get |
object NUnit.Engine.Extensibility.ExtensionNode.ExtensionObject |
|
get |
string NUnit.Engine.Extensibility.ExtensionNode.Path |
|
getset |
string NUnit.Engine.Extensibility.ExtensionNode.Description |
|
getset |
An optional description of what the extension does.
The documentation for this class was generated from the following file:
- unittests/NUnit_3_0_1_src/src/NUnitEngine/nunit.engine/Extensibility/ExtensionNode.cs