C# Class OSAE.OSAEUserControlFinder

Safely identifies assemblies within the designated UserControl directory that contain qualifying plugin types.
Inheritance: System.MarshalByRefObject
显示文件 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.

FindUserControls ( ) : IEnumerable

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

OSAEUserControlFinder ( ) : 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

FindUserControls() public static method

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

OSAEUserControlFinder() public method

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