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.
ICheckRules.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="ICheckRules.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary> Defines the common methods for any business object which exposes means to supress and check business rules.</summary>
7//-----------------------------------------------------------------------
8using System.Threading.Tasks;
9using Csla.Rules;
10
11namespace Csla.Core
12{
17 public interface ICheckRules
18 {
23
28
32 void CheckRules();
33
38
44 }
45}
A collection of currently broken rules.
Defines the common methods for any business object which exposes means to supress and check business ...
Definition: ICheckRules.cs:18
Task CheckRulesAsync()
Invokes all rules for the business type.
BrokenRulesCollection GetBrokenRules()
Gets the broken rules collection
void SuppressRuleChecking()
Sets value indicating no rule methods will be invoked.
void ResumeRuleChecking()
Resets value indicating all rule methods will be invoked.
void CheckRules()
Invokes all rules for the business type.