C# Class OSAE.PluginFinder

Safely identifies assemblies within a designated plugin directory that contain qualifying plugin types.
Inheritance: System.MarshalByRefObject
Exibir arquivo Open project: opensourceautomation/Open-Source-Automation

Public Methods

Method Description
Find ( ) : IEnumerable

Surveys the configured plugin path and returns the the set of types that qualify as plugin classes.

Since this method loads assemblies, it must be called from within a dedicated application domain that is subsequently unloaded.

FindPlugins ( ) : IEnumerable

Returns the name and assembly name of qualifying plugin classes found in assemblies within the designated plugin directory.

PluginFinder ( ) : System

Initializes a new instance of the PluginFinder class.

Method Details

Find() public method

Surveys the configured plugin path and returns the the set of types that qualify as plugin classes.
Since this method loads assemblies, it must be called from within a dedicated application domain that is subsequently unloaded.
public Find ( ) : IEnumerable
return IEnumerable

FindPlugins() public static method

Returns the name and assembly name of qualifying plugin classes found in assemblies within the designated plugin directory.
public static FindPlugins ( ) : IEnumerable
return IEnumerable

PluginFinder() public method

Initializes a new instance of the PluginFinder class.
public PluginFinder ( ) : System
return System