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.Windows.HasBrokenRulesEventArgs Class Reference

Event args object containing information about a broken rule. More...

Inheritance diagram for Csla.Windows.HasBrokenRulesEventArgs:
Csla.Windows.CslaActionCancelEventArgs

Public Member Functions

 HasBrokenRulesEventArgs (string commandName, bool hasErrors, bool hasWarnings, bool hasInformation, bool autoShowBrokenRules)
 Creates a new instance of the object. More...
 
 HasBrokenRulesEventArgs (bool cancel, string commandName, bool hasErrors, bool hasWarnings, bool hasInformation, bool autoShowBrokenRules)
 Creates a new instance of the object. More...
 
- Public Member Functions inherited from Csla.Windows.CslaActionCancelEventArgs
 CslaActionCancelEventArgs (bool cancel, string commandName)
 Creates an instance of the object. More...
 

Properties

bool HasErrors [get]
 Gets a value indicating whether an error severity rule exists. More...
 
bool HasWarning [get]
 Gets a value indicating whether a warning severity rule exists. More...
 
bool HasInformation [get]
 Gets a value indicating whether an information severity rule exists. More...
 
bool AutoShowBrokenRules [get]
 Gets a value indicating whether to show broken rules. More...
 
- Properties inherited from Csla.Windows.CslaActionCancelEventArgs
string CommandName [get]
 Gets the name of the command. More...
 

Detailed Description

Event args object containing information about a broken rule.

Definition at line 16 of file HasBrokenRulesEventArgs.cs.

Constructor & Destructor Documentation

◆ HasBrokenRulesEventArgs() [1/2]

Csla.Windows.HasBrokenRulesEventArgs.HasBrokenRulesEventArgs ( string  commandName,
bool  hasErrors,
bool  hasWarnings,
bool  hasInformation,
bool  autoShowBrokenRules 
)

Creates a new instance of the object.

Parameters
commandNameName of the command.
hasErrorsIndicates whether error severity exists.
hasWarningsIndicates whether warning severity exists.
hasInformationIndicates whether information severity exists.
autoShowBrokenRulesIndicates whether to automatically show broken rules.

Definition at line 36 of file HasBrokenRulesEventArgs.cs.

◆ HasBrokenRulesEventArgs() [2/2]

Csla.Windows.HasBrokenRulesEventArgs.HasBrokenRulesEventArgs ( bool  cancel,
string  commandName,
bool  hasErrors,
bool  hasWarnings,
bool  hasInformation,
bool  autoShowBrokenRules 
)

Creates a new instance of the object.

Parameters
cancelIndicates whether to cancel.
commandNameName of the command.
hasErrorsIndicates whether error severity exists.
hasWarningsIndicates whether warning severity exists.
hasInformationIndicates whether information severity exists.
autoShowBrokenRulesIndicates whether to automatically show broken rules.

Definition at line 66 of file HasBrokenRulesEventArgs.cs.

Property Documentation

◆ AutoShowBrokenRules

bool Csla.Windows.HasBrokenRulesEventArgs.AutoShowBrokenRules
get

Gets a value indicating whether to show broken rules.

Definition at line 111 of file HasBrokenRulesEventArgs.cs.

◆ HasErrors

bool Csla.Windows.HasBrokenRulesEventArgs.HasErrors
get

Gets a value indicating whether an error severity rule exists.

Definition at line 84 of file HasBrokenRulesEventArgs.cs.

◆ HasInformation

bool Csla.Windows.HasBrokenRulesEventArgs.HasInformation
get

Gets a value indicating whether an information severity rule exists.

Definition at line 102 of file HasBrokenRulesEventArgs.cs.

◆ HasWarning

bool Csla.Windows.HasBrokenRulesEventArgs.HasWarning
get

Gets a value indicating whether a warning severity rule exists.

Definition at line 93 of file HasBrokenRulesEventArgs.cs.