EntityAssignmentComparer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compare two entity assignments to determine their relative priority.
public class EntityAssignmentComparer : System.Collections.Generic.Comparer<Microsoft.Bot.Builder.Dialogs.Adaptive.EntityAssignment>
type EntityAssignmentComparer = class
inherit Comparer<EntityAssignment>
Public Class EntityAssignmentComparer
Inherits Comparer(Of EntityAssignment)
- Inheritance
-
EntityAssignmentComparer
Remarks
Compare by event: AssignEntity, ChooseProperty, ChooseEntity Then by operations in order from schema (usually within AssignEntity). Then by unexpected before expected. Then by oldest turn first. Then by minimum position in utterance.
Constructors
EntityAssignmentComparer(String[]) |
Initializes a new instance of the EntityAssignmentComparer class. |
Methods
Compare(EntityAssignment, EntityAssignment) |
Compares EntityAssignment x against y to determine its relative priority. |