Interface IModuleLocator
Defines a locator to locate modules of type IModule within the composition container.
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IModuleLocator
Methods
View SourceGetModules()
Gets all available modules.
Declaration
IEnumerable<IModule> GetModules()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IModule> | The list of available modules. |
GetModules(Func<IModuleExport, Boolean>)
Gets available modules that match a given filter.
Declaration
IEnumerable<IModule> GetModules(Func<IModuleExport, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<IModuleExport, System.Boolean> | predicate | A filter for the modules. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IModule> | The list of available modules that match |