CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
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 Csla.Serialization.Mobile.IMobileObjectMetastate

Public Member Functions

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

Protected Member Functions

override void OnGetState (SerializationInfo info, StateMode mode)
 Override this method to insert your field values into the MobileFormatter serialization stream.
override void OnSetState (SerializationInfo info, StateMode mode)
 Override this method to retrieve your field values from the MobileFormatter serialization stream.
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 serialization stream.
virtual void OnSetChildren (SerializationInfo info, MobileFormatter formatter)
 Override this method to retrieve your child object references from the MobileFormatter serialization stream.
virtual void OnGetMetastate (BinaryWriter writer)
 Override this method to write field values directly to a binary stream for metastate serialization.
virtual void OnSetMetastate (BinaryReader reader)
 Override this method to read field values directly from a binary stream for metastate deserialization.

Properties

string RuleName [get]
 Provides access to the name of the broken rule.
string Description [get]
 Provides access to the description of the broken rule.
string? Property [get]
 Provides access to the property affected by the broken rule.
RuleSeverity Severity [get]
 Gets the severity of the broken rule.
string? OriginProperty [get]
 Gets or sets the origin property.
int Priority [get]
 Gets or sets the broken rule priority.
int DisplayIndex [get]
 Gets or sets the DisplayIndex property.

Detailed Description

Stores details about a specific broken business rule.

Constructor & Destructor Documentation

◆ BrokenRule()

Csla.Rules.BrokenRule.BrokenRule ( )
inline

Creates an instance of this type.

Member Function Documentation

◆ OnGetState()

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

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

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

Reimplemented from Csla.Core.MobileObject.

◆ OnSetState()

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

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

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

Reimplemented from Csla.Core.MobileObject.

◆ ToString()

override string Csla.Rules.BrokenRule.ToString ( )
inline

Gets a string representation for this object.

Property Documentation

◆ Description

string Csla.Rules.BrokenRule.Description
get

Provides access to the description of the broken rule.

The description of the rule.

◆ DisplayIndex

int Csla.Rules.BrokenRule.DisplayIndex
get

Gets or sets the DisplayIndex property.

The DisplayIndex property.

◆ OriginProperty

string? Csla.Rules.BrokenRule.OriginProperty
get

Gets or sets the origin property.

The origin property.

◆ Priority

int Csla.Rules.BrokenRule.Priority
get

Gets or sets the broken rule priority.

◆ Property

string? Csla.Rules.BrokenRule.Property
get

Provides access to the property affected by the broken rule.

The property affected by the rule.

◆ RuleName

string Csla.Rules.BrokenRule.RuleName
get

Provides access to the name of the broken rule.

The name of the rule.

◆ Severity

RuleSeverity Csla.Rules.BrokenRule.Severity
get

Gets the severity of the broken rule.


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