DevForce Help Reference
TriggerItem Class
Members 


Defines the type and member name which will trigger verification.
Syntax
'Declaration
 
<DebuggerDisplayAttribute(Value="Trigger: {Type};{MemberName}", 
   Name="", 
   Type="", 
   Target=, 
   TargetTypeName="")>
<DataContractAttribute()>
Public Class TriggerItem 
'Usage
 
Dim instance As TriggerItem
[DebuggerDisplay(Value="Trigger: {Type};{MemberName}", 
   Name="", 
   Type="", 
   Target=, 
   TargetTypeName="")]
[DataContract()]
public class TriggerItem 
Remarks
A TriggerItem is the minimum information necessary to describe some “event” on an object. A TriggerItem does not include any specification of “pre” or “post” semantics; these are specified separately in the TriggerContext.

The most common TriggerItem represents the "event" of setting a property on an object. The minimum necessary information to describe this “event” is the type of the class and the name of the property. There is no requirement that a TriggerItem be a property set operation. It might just as easily be some non-set operation being performed on an object (i.e. the calling of some method on the object). For this reason, any TriggerItem is represented most simply by a type and a name.

If the Type is not the same type as the Verifier.ApplicableType, you'll need to combine the TriggerItem with navigation information in a TriggerLink.

A TriggerItem is added to a verifier with Verifier.AddTrigger.

Inheritance Hierarchy

System.Object
   IdeaBlade.Validation.TriggerItem

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TriggerItem Members
IdeaBlade.Validation Namespace

Send Feedback