OpenTAP 9.25
API Reference
Public Types | Public Member Functions | Public Attributes | List of all members
OpenTap.PluginSearcher Class Reference

Searches assemblies for classes implementing ITapPlugin. More...

Public Types

enum  Options { None = 0 , IncludeSameAssemblies = 1 }
 Options for Plugin Searcher. More...
 

Public Member Functions

 PluginSearcher ()
 Searches assemblies for classes implementing ITapPlugin.
 
 PluginSearcher (Options opts=Options.None)
 Searches assemblies for classes implementing ITapPlugin. More...
 
IEnumerable< TypeDataSearch (string dir)
 Searches assembly files and returns all the plugin types found in those. The search will also populate a complete list of types searched in the AllTypes property and all Assemblies found in the Assemblies property. Subsequent calls to this method will add to those properties.
 
IEnumerable< TypeDataSearch (IEnumerable< string > files)
 Searches assembly files and returns all the plugin types found in those. The search will also populate a complete list of types searched in the AllTypes property and all Assemblies found in the Assemblies property. Subsequent calls to this method will add to those properties.
 

Public Attributes

IEnumerable< AssemblyDataAssemblies
 The assemblies found by Search. Ordered such that referenced assemblies come before assemblies that reference them.
 

Detailed Description

Searches assemblies for classes implementing ITapPlugin.

Member Enumeration Documentation

◆ Options

Options for Plugin Searcher.

Enumerator
None 

No options

IncludeSameAssemblies 

Allow multiple assemblies with the same name

Constructor & Destructor Documentation

◆ PluginSearcher()

OpenTap.PluginSearcher.PluginSearcher ( Options  opts = Options.None)
inline

Searches assemblies for classes implementing ITapPlugin.

Parameters
optsOption setting for Plugin Searcher.

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