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.
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//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Linq;
11using System.Text;
12
13namespace Csla.Rules
14{
19 public interface IAuthorizationRule
20 {
41 bool CacheResult { get; }
42 }
43}
Maintains metadata about a method or property.
Definition: IMemberInfo.cs:19
Implemented by objects which provide context information to an authorization rule when it is invoked.
Interface defining an authorization rule implementation.
void Execute(IAuthorizationContext context)
Authorization rule implementation.
Csla.Core.IMemberInfo Element
Gets the element (property/method) to which this rule is associated.
bool CacheResult
Gets a value indicating whether the results of this rule can be cached at the business object level.
AuthorizationActions Action
Gets the authorization action this rule will enforce.
AuthorizationActions
Authorization actions.