CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Rules.IAuthorizationRule Interface Reference

Interface defining an authorization rule implementation. More...

Inheritance diagram for Csla.Rules.IAuthorizationRule:
Csla.Rules.AuthorizationRule Csla.Rules.CommonRules.IsInRole Csla.Rules.CommonRules.IsNotInRole

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...
 

Detailed Description

Interface defining an authorization rule implementation.

Definition at line 19 of file IAuthorizationRule.cs.

Member Function Documentation

◆ Execute()

void Csla.Rules.IAuthorizationRule.Execute ( IAuthorizationContext  context)

Authorization rule implementation.

Parameters
contextRule context object.

Implemented in Csla.Rules.AuthorizationRule, Csla.Rules.CommonRules.IsInRole, and Csla.Rules.CommonRules.IsNotInRole.

Property Documentation

◆ Action

AuthorizationActions Csla.Rules.IAuthorizationRule.Action
get

Gets the authorization action this rule will enforce.

Definition at line 35 of file IAuthorizationRule.cs.

◆ CacheResult

bool Csla.Rules.IAuthorizationRule.CacheResult
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.

◆ Element

Csla.Core.IMemberInfo Csla.Rules.IAuthorizationRule.Element
get

Gets the element (property/method) to which this rule is associated.

Definition at line 30 of file IAuthorizationRule.cs.