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.Rules.BrokenRule Class Reference

Stores details about a specific broken business rule. More...

Inheritance diagram for Csla.Rules.BrokenRule:
Csla.Core.MobileObject Csla.Serialization.Mobile.IMobileObject

Public Member Functions

 BrokenRule ()
 Creates an instance of this type. More...
 
override string ToString ()
 Gets a string representation for this object. More...
 

Protected Member Functions

override void OnGetState (SerializationInfo info, StateMode mode)
 Override this method to insert your field values into the MobileFormatter serialzation stream. More...
 
override void OnSetState (SerializationInfo info, StateMode mode)
 Override this method to retrieve your field values from the MobileFormatter serialzation stream. More...
 
- Protected Member Functions inherited from Csla.Core.MobileObject
virtual void OnGetChildren (SerializationInfo info, MobileFormatter formatter)
 Override this method to insert your child object references into the MobileFormatter serialzation stream. More...
 
virtual void OnSetChildren (SerializationInfo info, MobileFormatter formatter)
 Override this method to retrieve your child object references from the MobileFormatter serialzation stream. More...
 

Properties

string RuleName [getset]
 Provides access to the name of the broken rule. More...
 
string Description [getset]
 Provides access to the description of the broken rule. More...
 
string Property [getset]
 Provides access to the property affected by the broken rule. More...
 
RuleSeverity Severity [getset]
 Gets the severity of the broken rule. More...
 
string OriginProperty [getset]
 Gets or sets the origin property. More...
 

Detailed Description

Stores details about a specific broken business rule.

Definition at line 18 of file BrokenRule.cs.

Constructor & Destructor Documentation

◆ BrokenRule()

Csla.Rules.BrokenRule.BrokenRule ( )

Creates an instance of this type.

Definition at line 23 of file BrokenRule.cs.

Member Function Documentation

◆ OnGetState()

override void Csla.Rules.BrokenRule.OnGetState ( SerializationInfo  info,
StateMode  mode 
)
protectedvirtual

Override this method to insert your field values into the MobileFormatter serialzation stream.

Parameters
infoObject containing the data to serialize.
modeThe StateMode indicating why this method was invoked.

Reimplemented from Csla.Core.MobileObject.

Definition at line 104 of file BrokenRule.cs.

◆ OnSetState()

override void Csla.Rules.BrokenRule.OnSetState ( SerializationInfo  info,
StateMode  mode 
)
protectedvirtual

Override this method to retrieve your field values from the MobileFormatter serialzation stream.

Parameters
infoObject containing the data to serialize.
modeThe StateMode indicating why this method was invoked.

Reimplemented from Csla.Core.MobileObject.

Definition at line 125 of file BrokenRule.cs.

◆ ToString()

override string Csla.Rules.BrokenRule.ToString ( )

Gets a string representation for this object.

Definition at line 35 of file BrokenRule.cs.

Property Documentation

◆ Description

string Csla.Rules.BrokenRule.Description
getset

Provides access to the description of the broken rule.

The description of the rule.

Definition at line 54 of file BrokenRule.cs.

◆ OriginProperty

string Csla.Rules.BrokenRule.OriginProperty
getset

Gets or sets the origin property.

The origin property.

Definition at line 86 of file BrokenRule.cs.

◆ Property

string Csla.Rules.BrokenRule.Property
getset

Provides access to the property affected by the broken rule.

The property affected by the rule.

Definition at line 64 of file BrokenRule.cs.

◆ RuleName

string Csla.Rules.BrokenRule.RuleName
getset

Provides access to the name of the broken rule.

The name of the rule.

Definition at line 44 of file BrokenRule.cs.

◆ Severity

RuleSeverity Csla.Rules.BrokenRule.Severity
getset

Gets the severity of the broken rule.

Returns

Definition at line 76 of file BrokenRule.cs.