Try our conversational search powered by Generative AI!

Class ModuleFinder

Inheritance
System.Object
ModuleFinder
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Modules
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class ModuleFinder : IModuleFinder

Constructors

ModuleFinder(VirtualPathProvider, ITypeScannerLookup)

Declaration
public ModuleFinder(VirtualPathProvider virtualPathProvider, ITypeScannerLookup typeScannerLookup)
Parameters
Type Name Description
System.Web.Hosting.VirtualPathProvider virtualPathProvider
ITypeScannerLookup typeScannerLookup

ModuleFinder(VirtualPathProvider, BinariesFinder, ITypeScannerLookup)

Declaration
public ModuleFinder(VirtualPathProvider virtualPathProvider, BinariesFinder binariesFinder, ITypeScannerLookup typeScannerLookup)
Parameters
Type Name Description
System.Web.Hosting.VirtualPathProvider virtualPathProvider
BinariesFinder binariesFinder
ITypeScannerLookup typeScannerLookup

ModuleFinder(VirtualPathProvider, BinariesFinder, ITypeScannerLookup, IWebHostingEnvironment)

Declaration
public ModuleFinder(VirtualPathProvider virtualPathProvider, BinariesFinder binariesFinder, ITypeScannerLookup typeScannerLookup, IWebHostingEnvironment webHostingEnvironment)
Parameters
Type Name Description
System.Web.Hosting.VirtualPathProvider virtualPathProvider
BinariesFinder binariesFinder
ITypeScannerLookup typeScannerLookup
IWebHostingEnvironment webHostingEnvironment

Fields

ProtectedModulesFolderName

Declaration
public const string ProtectedModulesFolderName = "_Protected"
Field Value
Type Description
System.String

Methods

GetModuleInDirectory(String, String, IEnumerable<String>, AutoDiscoveryLevel, String)

Declaration
public virtual ShellModule GetModuleInDirectory(string routeBasePath, string moduleResourcePath, IEnumerable<string> configuredAssemblyNames, AutoDiscoveryLevel discoveryMode, string configuredName)
Parameters
Type Name Description
System.String routeBasePath
System.String moduleResourcePath
System.Collections.Generic.IEnumerable<System.String> configuredAssemblyNames
AutoDiscoveryLevel discoveryMode
System.String configuredName
Returns
Type Description
ShellModule

GetModulesInSubdirectories(String, AutoDiscoveryLevel)

Declaration
public virtual IList<ShellModule> GetModulesInSubdirectories(string rootPath, AutoDiscoveryLevel discoveryMode)
Parameters
Type Name Description
System.String rootPath
AutoDiscoveryLevel discoveryMode
Returns
Type Description
System.Collections.Generic.IList<ShellModule>

ReadManifest(Stream)

Declaration
protected virtual ShellModuleManifest ReadManifest(Stream manifestStream)
Parameters
Type Name Description
System.IO.Stream manifestStream
Returns
Type Description
ShellModuleManifest

Implements

Extension Methods