Trigger.Relationship 方法

定义

确定当前实例与另一个触发器实例之间的关系。

public AdaptiveExpressions.TriggerTrees.RelationshipType Relationship (AdaptiveExpressions.TriggerTrees.Trigger other, System.Collections.Generic.Dictionary<string,AdaptiveExpressions.TriggerTrees.IPredicateComparer> comparers);
member this.Relationship : AdaptiveExpressions.TriggerTrees.Trigger * System.Collections.Generic.Dictionary<string, AdaptiveExpressions.TriggerTrees.IPredicateComparer> -> AdaptiveExpressions.TriggerTrees.RelationshipType
Public Function Relationship (other As Trigger, comparers As Dictionary(Of String, IPredicateComparer)) As RelationshipType

参数

other
Trigger

另一个触发器实例。

comparers
Dictionary<String,IPredicateComparer>

比较器字典。

返回

RelationshipType 值。

适用于