OpenTAP 9.25
API Reference
Public Member Functions | Properties | List of all members
OpenTap.PluginAssemblyAttribute Class Reference

Marks an assembly as one containing OpenTAP plugins. More...

Inherits Attribute.

Public Member Functions

 PluginAssemblyAttribute (bool SearchInternalTypes)
 Marks an assembly as one containing OpenTAP plugins. More...
 
 PluginAssemblyAttribute (bool SearchInternalTypes, string PluginInitMethod)
 Marks an assembly as one containing OpenTAP plugins. More...
 

Properties

bool SearchInternalTypes [get]
 Ask the PluginSearcher to also look for plugins among the internal types in this assembly (default is to only search in public types).
 
string PluginInitMethod [get]
 (Optional) Full name of Plugin Init method that gets run before any other code in the plugin. Will only run once. Requirement: Must be parameterless public static method returning void inside public static class Important note: If init method fails (throws an Exception), then NONE of the ITapPlugin types will load
 

Detailed Description

Marks an assembly as one containing OpenTAP plugins.

Constructor & Destructor Documentation

◆ PluginAssemblyAttribute() [1/2]

OpenTap.PluginAssemblyAttribute.PluginAssemblyAttribute ( bool  SearchInternalTypes)
inline

Marks an assembly as one containing OpenTAP plugins.

Parameters
SearchInternalTypesTrue to ask the PluginSearcher to also look for plugins among the internal types in this assembly (default is to only search in public types).

◆ PluginAssemblyAttribute() [2/2]

OpenTap.PluginAssemblyAttribute.PluginAssemblyAttribute ( bool  SearchInternalTypes,
string  PluginInitMethod 
)
inline

Marks an assembly as one containing OpenTAP plugins.

Parameters
SearchInternalTypesTrue to ask the PluginSearcher to also look for plugins among the internal types in this assembly (default is to only search in public types).
PluginInitMethodFull name of Plugin Init method (PluginInitMethod)

OpenTAP 9.25 API built Tue Aug 6 2024 07:49:24