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.
IAuthorizationRule.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="IAuthorizationRule.cs" company="Marimer LLC">
3
// Copyright (c) Marimer LLC. All rights reserved.
4
// Website: https://cslanet.com
5
// </copyright>
6
// <summary>Interface defining an authorization</summary>
7
//-----------------------------------------------------------------------
8
using
System;
9
using
System.Collections.Generic;
10
using
System.Linq;
11
using
System.Text;
12
13
namespace
Csla.Rules
14
{
19
public
interface
IAuthorizationRule
20
{
25
void
Execute
(
IAuthorizationContext
context);
30
Csla
.
Core
.
IMemberInfo
Element
{
get
; }
35
AuthorizationActions
Action
{
get
; }
41
bool
CacheResult
{
get
; }
42
}
43
}
Csla.Core.IMemberInfo
Maintains metadata about a method or property.
Definition:
IMemberInfo.cs:19
Csla.Rules.IAuthorizationContext
Implemented by objects which provide context information to an authorization rule when it is invoked.
Definition:
IAuthorizationContext.cs:20
Csla.Rules.IAuthorizationRule
Interface defining an authorization rule implementation.
Definition:
IAuthorizationRule.cs:20
Csla.Rules.IAuthorizationRule.Execute
void Execute(IAuthorizationContext context)
Authorization rule implementation.
Csla.Rules.IAuthorizationRule.Element
Csla.Core.IMemberInfo Element
Gets the element (property/method) to which this rule is associated.
Definition:
IAuthorizationRule.cs:30
Csla.Rules.IAuthorizationRule.CacheResult
bool CacheResult
Gets a value indicating whether the results of this rule can be cached at the business object level.
Definition:
IAuthorizationRule.cs:41
Csla.Rules.IAuthorizationRule.Action
AuthorizationActions Action
Gets the authorization action this rule will enforce.
Definition:
IAuthorizationRule.cs:35
Csla.Core
Definition:
AddedNewEventArgs.cs:11
Csla.Rules
Definition:
AddObjectAuthorizationRulesContext.cs:11
Csla.Rules.AuthorizationActions
AuthorizationActions
Authorization actions.
Definition:
AuthorizationActions.cs:19
Csla
Definition:
BusinessRuleCases.cs:5
Generated by
1.9.2