Class Role
public class Role
- Inheritance
-
Role
- Inherited Members
- Extension Methods
Constructors
Role()
public Role()
Role(Role)
public Role(Role r)
Parameters
r
Role
Fields
AllowedRoutes
public string[]? AllowedRoutes
Field Value
- string[]
DeniedRoutes
public string[]? DeniedRoutes
Field Value
- string[]
Description
public string? Description
Field Value
EnforcedFilters
public string[]? EnforcedFilters
Field Value
- string[]
Key
public string? Key
Field Value
Modified
public DateTime Modified
Field Value
Methods
AllowsAction(string, string)
Check if action is allowed
public bool AllowsAction(string method, string route)
Parameters
Returns
AsEntity()
public Role AsEntity()
Returns
CopyTo(Role)
public Role CopyTo(Role ent)
Parameters
ent
Role
Returns
ParamsForAction(string)
Returns the enforced parameters for an action
public Role.EnforcedParameter? ParamsForAction(string route)
Parameters
route
string