CacheDataComparerExtensions.Compare<TCachedMessage> Method
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 a cached message with a sequence token to determine if it message is before or after the token
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
Type Parameters
- TCachedMessage
Parameters
- comparer
- ICacheDataComparer<TCachedMessage>
- streamToken
- StreamSequenceToken
- cachedMessage
- TCachedMessage