[This is preliminary documentation and subject to change.]
The LaMarvin.Constable namespace contains the core AuthorizationPolicy class and supporting types.
| Class | Description |
|---|---|
| ActionExecutionEventArgs | Defines arguments for the ActionExecuting and ActionExecuted events. |
| AuthorizationPolicy | Encapsulates a single authorization policy and implements the core authorization functionality to be used from within your application. |
| AuthorizationPolicyLoader | Provides methods for saving and loading authorization policys to/from various media types. |
| AuthorizationPolicyLoader.XmlElementNames | Defines the names of XML elements that comprise the definition of an authorization policy stored in a XML file. |
| ConstableException | The base class for all exceptions generated by the CAZE library. |
| DuplicateAuthorizationRuleException | The exception that is thrown by an AuthorizationPolicy when attempting to add a duplicate authorization rule to the ActionRules or PropertyRules collections. |
| NonDeterministicModelException | The exception that is thrown by the ExecuteAction method when attempting to execute a non-deterministic action. |
| PermissionDeniedException | The exception that is thrown by the ExecuteAction method when attempting to execute a disabled action. |
| ResolveRoleMembershipEventArgs | Defines arguments for the ResolveRoleMembership event. |
| Delegate | Description |
|---|---|
| ActionExecutionEventHandler | Defines a signature for methods that can handle the ActionExecuting and ActionExecuted events. |
| ResolveRoleMembershipEventHandler | The signature for methods that can handle the ResolveRoleMembership event. |
| Enumeration | Description |
|---|---|
| EnabledOption | Specifies the required value of the IsEnabled property for rules to be returned from the GetDefinedActionRules and GetDefinedPropertyRules methods. |
| VisibleOption | Specifies the required value of the IsVisible property for rules to be returned from the GetDefinedActionRules and GetDefinedPropertyRules methods. |