Interface IStonefieldQueryPluginHandler<T,TMetaData>

The interface for plugin handlers.


public abstract interface IStonefieldQueryPluginHandler<T,TMetaData>

Interface Members

MemberDescription

Compose

Imports plugins from DLLs in the folders specified in PluginDirectories.

public void Compose();

GetPluginByGuid

Gets a plugin by Guid.

public Lazy<T,TMetaData> GetPluginByGuid(string guid);

GetPluginByName

Gets a plugin by name.

public Lazy<T,TMetaData> GetPluginByName(string name);

Count

The number of plugins.

FactoryInstances

A list of factories that can be used to instantiate a new instance of a plugin class

HasBeenComposed

True if the plugins have been imported.

Instances

A list of the plugins. Use the Value property to retrieve the actual plugin instance itself.

PluginDirectories

The list of folders to load plugins from.

PluginDirectory

The directory for plugin assemblies.

Requirements

Namespace: Stonefield.Query.Plugins
Assembly: interfaces.dll