Class Plugins
Inherited Members
Namespace: Acoustics.Shared
Assembly: Acoustics.Shared.dll
Syntax
public class Plugins
Methods
| Improve this Doc View SourceGetPlugins<T>(String)
Get plugins from executing assembly.
Declaration
public static IEnumerable<T> GetPlugins<T>(string interfaceName)
where T : class
Parameters
Type | Name | Description |
---|---|---|
String | interfaceName | The interface name. |
Returns
Type | Description |
---|---|
IEnumerable<T> | Enumerable of plugins. |
Type Parameters
Name | Description |
---|---|
T | The type of the plugins. |
GetPlugins<T>(String, IEnumerable<DirectoryInfo>, String[])
Get plugins from directories.
Declaration
public static IEnumerable<T> GetPlugins<T>(string interfaceName, IEnumerable<DirectoryInfo> directories, params string[] searchPatterns)
where T : class
Parameters
Type | Name | Description |
---|---|---|
String | interfaceName | The interface Name. |
IEnumerable<Directory |
directories | The directories. |
String[] | searchPatterns | The search Patterns. |
Returns
Type | Description |
---|---|
IEnumerable<T> | Enumerable of plugins. |
Type Parameters
Name | Description |
---|---|
T | The type of the plugins. |