CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Test.Authorization.AuthRuleExpectsCriteria Class Reference
Inheritance diagram for Csla.Test.Authorization.AuthRuleExpectsCriteria:
Csla.Rules.AuthorizationRule Csla.Rules.IAuthorizationRule

Public Member Functions

 AuthRuleExpectsCriteria (AuthorizationActions action)
 
- Public Member Functions inherited from Csla.Rules.AuthorizationRule
 AuthorizationRule (AuthorizationActions action)
 Creates an instance of the rule. More...
 
 AuthorizationRule (AuthorizationActions action, Csla.Core.IMemberInfo element)
 Creates an instance of the rule. More...
 

Protected Member Functions

override void Execute (IAuthorizationContext context)
 Authorization rule implementation. More...
 
- Protected Member Functions inherited from Csla.Rules.AuthorizationRule
object ReadProperty (object obj, Csla.Core.IPropertyInfo propertyInfo)
 Reads a property's field value. More...
 

Additional Inherited Members

- Properties inherited from Csla.Rules.AuthorizationRule
bool CacheResult [getprotected set]
 Gets a value indicating whether the results of this rule can be cached at the business object level. More...
 
Csla.Core.IMemberInfo Element [getset]
 Gets the name of the element (property/method) to which this rule is associated. More...
 
AuthorizationActions Action [getset]
 Gets the authorization action this rule will enforce. More...
 
- Properties inherited from Csla.Rules.IAuthorizationRule
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...
 

Detailed Description

Definition at line 14 of file AuthRuleExpectsCriteria.cs.

Constructor & Destructor Documentation

◆ AuthRuleExpectsCriteria()

Csla.Test.Authorization.AuthRuleExpectsCriteria.AuthRuleExpectsCriteria ( AuthorizationActions  action)

Definition at line 16 of file AuthRuleExpectsCriteria.cs.

Member Function Documentation

◆ Execute()

override void Csla.Test.Authorization.AuthRuleExpectsCriteria.Execute ( IAuthorizationContext  context)
protectedvirtual

Authorization rule implementation.

Parameters
contextRule context object.

Implements Csla.Rules.AuthorizationRule.

Definition at line 20 of file AuthRuleExpectsCriteria.cs.