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
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.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public abstract class PermissionTypeScanner
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. |