Share via


EntityAssignmentComparer.Compare(EntityAssignment, EntityAssignment) Method

Definition

Compares EntityAssignment x against y to determine its relative priority.

public override int Compare (Microsoft.Bot.Builder.Dialogs.Adaptive.EntityAssignment x, Microsoft.Bot.Builder.Dialogs.Adaptive.EntityAssignment y);
override this.Compare : Microsoft.Bot.Builder.Dialogs.Adaptive.EntityAssignment * Microsoft.Bot.Builder.Dialogs.Adaptive.EntityAssignment -> int
Public Overrides Function Compare (x As EntityAssignment, y As EntityAssignment) As Integer

Parameters

x
EntityAssignment

Reference Entity.

y
EntityAssignment

Comparisson Entity.

Returns

Numerical value representing x's relative priority.

Applies to