Show / Hide Table of Contents

Class ModuleLocator

Locates modules of type IModule.

Inheritance
System.Object
ModuleLocator
Implements
IModuleLocator
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Export(typeof(IModuleLocator))]
public class ModuleLocator : IModuleLocator

Methods

View Source

GetModules()

Gets all available modules.

Declaration
public IEnumerable<IModule> GetModules()
Returns
Type Description
System.Collections.Generic.IEnumerable<IModule>

The list of available modules.

View Source

GetModules(Func<IModuleExport, Boolean>)

Gets available modules that match a given filter.

Declaration
public 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 predicate.

Implements

IModuleLocator

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX