CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
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.
 HasBrokenRulesEventArgs (bool cancel, string commandName, bool hasErrors, bool hasWarnings, bool hasInformation, bool autoShowBrokenRules)
 Creates a new instance of the object.
Public Member Functions inherited from Csla.Windows.CslaActionCancelEventArgs
 CslaActionCancelEventArgs (bool cancel, string commandName)
 Creates an instance of the object.

Properties

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

Detailed Description

Event args object containing information about a broken rule.

Constructor & Destructor Documentation

◆ HasBrokenRulesEventArgs() [1/2]

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

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.
Exceptions
ArgumentNullExceptioncommandName is null.

◆ HasBrokenRulesEventArgs() [2/2]

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

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.
Exceptions
ArgumentNullExceptioncommandName is null.

Property Documentation

◆ AutoShowBrokenRules

bool Csla.Windows.HasBrokenRulesEventArgs.AutoShowBrokenRules = false
get

Gets a value indicating whether to show broken rules.

◆ HasErrors

bool Csla.Windows.HasBrokenRulesEventArgs.HasErrors = false
get

Gets a value indicating whether an error severity rule exists.

◆ HasInformation

bool Csla.Windows.HasBrokenRulesEventArgs.HasInformation = false
get

Gets a value indicating whether an information severity rule exists.

◆ HasWarning

bool Csla.Windows.HasBrokenRulesEventArgs.HasWarning = false
get

Gets a value indicating whether a warning severity rule exists.


The documentation for this class was generated from the following file: