Edit

Share via


CacheDataComparerExtensions.Compare<TCachedMessage> Method

Definition

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

streamToken
StreamSequenceToken
cachedMessage
TCachedMessage

Returns

Applies to