Address Comparer Class
Compare two Address instances for equality, excluding the user information.
public sealed class ConversationAddressComparer : System.Collections.Generic.IEqualityComparer<Microsoft.Bot.Builder.Dialogs.IAddress>
type ConversationAddressComparer = class interface IEqualityComparer<IAddress>
Public NotInheritable Class ConversationAddressComparer Implements IEqualityComparer(Of IAddress)
This equality comparer excludes the user from the Address identity
so that dialog execution can be serialized by conversation, thereby
making it less likely to encounter 412 "precondition failed" when
updating the bot state data bags with optimistic concurrency. Updates
to the user's data bags may still conflict across multiple conversations.
Explicit Interface Implementations