IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace : TriggerItem Class |
'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
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.
System.Object
IdeaBlade.Validation.TriggerItem
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