Click or drag to resize
ModuleDiscoveryGetModules Method (Assembly)
Returns an enumerable collection of application modules from the specified assembly.

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax
C#
public IEnumerable<ModuleEntry> GetModules(
	Assembly assembly
)

Parameters

assembly
Type: System.ReflectionAssembly
The assembly to retrieve modules from.

Return Value

Type: IEnumerableModuleEntry
An enumerable collection of application modules from the specified assembly.
Remarks
The module type is located using the RegisterModuleAttribute.
See Also