Class PermissionTypeScanner
Scans for all types decorated with PermissionTypesAttribute and registers public static properties of type PermissionType on those against PermissionTypeRepository.
Inheritance
System.Object
PermissionTypeScanner
Namespace: EPiServer.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public abstract class PermissionTypeScanner : Object
Constructors
PermissionTypeScanner()
Declaration
protected PermissionTypeScanner()
Methods
ScanAndRegisterAsync()
Returns a started task where the scanning and registration occurs.
Declaration
public abstract Task ScanAndRegisterAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A waitable task. |