Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Class ModuleTable

Inheritance
System.Object
ModuleTable
Implements
System.Collections.Generic.IEnumerable<ShellModule>
System.Collections.IEnumerable
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 ModuleTable : IEnumerable<ShellModule>, IEnumerable

Constructors

ModuleTable()

Declaration
public ModuleTable()

Methods

Add(ShellModule)

Declaration
public void Add(ShellModule newModule)
Parameters
Type Name Description
ShellModule newModule

AddRange(IEnumerable<ShellModule>)

Declaration
public virtual void AddRange(IEnumerable<ShellModule> modules)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ShellModule> modules

FindModule(String)

Declaration
public virtual ShellModule FindModule(string moduleName)
Parameters
Type Name Description
System.String moduleName
Returns
Type Description
ShellModule

GetEnumerator()

Declaration
public virtual IEnumerator<ShellModule> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<ShellModule>

GetModuleAssemblies()

Declaration
public virtual IList<Assembly> GetModuleAssemblies()
Returns
Type Description
System.Collections.Generic.IList<System.Reflection.Assembly>

GetModuleOrDefault(Assembly)

Declaration
public virtual ShellModule GetModuleOrDefault(Assembly assembly)
Parameters
Type Name Description
System.Reflection.Assembly assembly
Returns
Type Description
ShellModule

GetModules()

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

Initialize(IEnumerable<ShellModule>)

Declaration
public virtual void Initialize(IEnumerable<ShellModule> modules)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ShellModule> modules

ResolveClientPath(ShellModule, String)

Declaration
public static string ResolveClientPath(ShellModule module, string moduleRelativePath)
Parameters
Type Name Description
ShellModule module
System.String moduleRelativePath
Returns
Type Description
System.String

ResolveClientPath(String, String)

Declaration
public virtual string ResolveClientPath(string moduleName, string moduleRelativePath)
Parameters
Type Name Description
System.String moduleName
System.String moduleRelativePath
Returns
Type Description
System.String

ResolvePath(ShellModule, String)

Declaration
public static string ResolvePath(ShellModule module, string moduleRelativePath)
Parameters
Type Name Description
ShellModule module
System.String moduleRelativePath
Returns
Type Description
System.String

ResolvePath(String, String)

Declaration
public virtual string ResolvePath(string moduleName, string moduleRelativePath)
Parameters
Type Name Description
System.String moduleName
System.String moduleRelativePath
Returns
Type Description
System.String

TryGetModule(Assembly, out ShellModule)

Declaration
public virtual bool TryGetModule(Assembly assembly, out ShellModule shellModule)
Parameters
Type Name Description
System.Reflection.Assembly assembly
ShellModule shellModule
Returns
Type Description
System.Boolean

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable

Extension Methods