Visual Basic (Declaration) | |
---|---|
<DebuggerDisplayAttribute(Value="Trigger: {Type};{MemberName}", Name="", Type="", Target=, TargetTypeName="")> <DataContractAttribute()> Public Class TriggerItem |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TriggerItem |
C# | |
---|---|
[DebuggerDisplayAttribute(Value="Trigger: {Type};{MemberName}", Name="", Type="", Target=, TargetTypeName="")] [DataContractAttribute()] public class TriggerItem |
C++/CLI | |
---|---|
[DebuggerDisplayAttribute(Value="Trigger: {Type};{MemberName}", Name="", Type="", Target=, TargetTypeName="")] [DataContractAttribute()] public ref 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family