Interface IModuleFinder
Discovers modules in a folder structure and registers them into the application
Namespace: EPiServer.Shell.Modules
Assembly: EPiServer.Shell.dll
Version: 10.10.4Syntax
public interface IModuleFinder
Remarks
This class is used internally by EPiServer and should not be instantiated.
Methods
GetModuleInDirectory(String, String, IEnumerable<String>, AutoDiscoveryLevel, String)
Extracts and loads a module in a directory
Declaration
ShellModule GetModuleInDirectory(string routeBasePath, string moduleResourcePath, IEnumerable<string> configuredAssemblyNames, AutoDiscoveryLevel discoveryMode, string configuredName)
Parameters
Type | Name | Description |
---|---|---|
System. |
routeBasePath | The base path for the routes. |
System. |
moduleResourcePath | The virtual path to module resources |
System. |
configuredAssemblyNames | Assemblies that are always loaded and associated with the module. |
Auto |
discoveryMode | What level the auto discovery should be. |
System. |
configuredName | Configured module name. |
Returns
Type | Description |
---|---|
Shell |
A shell module. |
GetModulesInSubdirectories(String, AutoDiscoveryLevel)
Get modules from sub-directories of the supplied directory.
Declaration
IList<ShellModule> GetModulesInSubdirectories(string rootPath, AutoDiscoveryLevel discoveryMode)
Parameters
Type | Name | Description |
---|---|---|
System. |
rootPath | The root folder for modules to discover. |
Auto |
discoveryMode | The level to use for the auto discovery. |
Returns
Type | Description |
---|---|
System. |
A list of shell modules |