A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface IAssemblyScanner

Scans for types that defined by TypeScannerRegistrationAttribute

Namespace: EPiServer.Framework.TypeScanner
Assembly: EPiServer.Framework.dll
Version: 8.11.0
Syntax
public interface IAssemblyScanner
Remarks

You should use ITypeScannerLookup to get hold of all scanned types rather than doing your own scan which is costly

Methods

Configure(IEnumerable<Assembly>)

Declaration
void Configure(IEnumerable<Assembly> assemblies)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> assemblies

GetTypes(Assembly)

Declaration
IEnumerable<Type> GetTypes(Assembly assembly)
Parameters
Type Name Description
System.Reflection.Assembly assembly
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Type>