CacheDataComparerExtensions 类

定义

缓存数据比较器扩展函数,用于切换参数顺序

public static class CacheDataComparerExtensions
type CacheDataComparerExtensions = class
Public Module CacheDataComparerExtensions
继承
CacheDataComparerExtensions

方法

Compare<TCachedMessage>(ICacheDataComparer<TCachedMessage>, StreamSequenceToken, TCachedMessage)

将缓存的消息与序列标记进行比较,以确定消息是否在令牌之前或之后

Equals<TCachedMessage>(ICacheDataComparer<TCachedMessage>, IStreamIdentity, TCachedMessage)

检查缓存的消息是否属于提供的流

适用于