Interface defining an authorization rule implementation. More...
Public Member Functions | |
| void | Execute (IAuthorizationContext context) |
| Authorization rule implementation. More... | |
Properties | |
| Csla.Core.IMemberInfo | Element [get] |
| Gets the element (property/method) to which this rule is associated. More... | |
| AuthorizationActions | Action [get] |
| Gets the authorization action this rule will enforce. More... | |
| bool | CacheResult [get] |
| Gets a value indicating whether the results of this rule can be cached at the business object level. More... | |
Interface defining an authorization rule implementation.
Definition at line 19 of file IAuthorizationRule.cs.
| void Csla.Rules.IAuthorizationRule.Execute | ( | IAuthorizationContext | context | ) |
Authorization rule implementation.
| context | Rule context object. |
Implemented in Csla.Rules.AuthorizationRule, Csla.Rules.CommonRules.IsInRole, and Csla.Rules.CommonRules.IsNotInRole.
|
get |
Gets the authorization action this rule will enforce.
Definition at line 35 of file IAuthorizationRule.cs.
|
get |
Gets a value indicating whether the results of this rule can be cached at the business object level.
Definition at line 41 of file IAuthorizationRule.cs.
|
get |
Gets the element (property/method) to which this rule is associated.
Definition at line 30 of file IAuthorizationRule.cs.