CacheDataComparerExtensions.Compare<TCachedMessage> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将缓存的消息与序列标记进行比较,以确定消息是否在令牌之前或之后
public static int Compare<TCachedMessage> (this Orleans.Providers.Streams.Common.ICacheDataComparer<TCachedMessage> comparer, Orleans.Streams.StreamSequenceToken streamToken, TCachedMessage cachedMessage);
static member Compare : Orleans.Providers.Streams.Common.ICacheDataComparer<'CachedMessage> * Orleans.Streams.StreamSequenceToken * 'CachedMessage -> int
<Extension()>
Public Function Compare(Of TCachedMessage) (comparer As ICacheDataComparer(Of TCachedMessage), streamToken As StreamSequenceToken, cachedMessage As TCachedMessage) As Integer
类型参数
- TCachedMessage
参数
- comparer
- ICacheDataComparer<TCachedMessage>
- streamToken
- StreamSequenceToken
- cachedMessage
- TCachedMessage