| Constable Authorization Engine 2.0 BETA |
|
RuleCollectionBase.IsNewRuleValid Method
[This is preliminary documentation and subject to change.]
The method checks whether a new authorization rule defined by the parameters can be safely added to the collection.
Parameters
-
protectedObject
- A reference to an Action or a Property to be associated with the new authorization rule.
-
role
- A reference to a Role to be associated with the new authorization rule.
-
state
- A reference to a State to be associated with the new authorization rule.
Return Value
true if the authorization rule can be added to the collection; false otherwise.
See Also
RuleCollectionBase Class | LaMarvin.Constable.Model Namespace