Edytuj

Udostępnij za pośrednictwem


ICacheDataComparer<TCachedMessage> Interface

Definition

Compares cached messages with various stream details

public interface ICacheDataComparer<in TCachedMessage>
type ICacheDataComparer<'CachedMessage> = interface
Public Interface ICacheDataComparer(Of In TCachedMessage)

Type Parameters

TCachedMessage
This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived

Methods

Compare(TCachedMessage, StreamSequenceToken)

Compare a cached message with a sequence token to determine if it message is before or after the token

Equals(TCachedMessage, IStreamIdentity)

Checks to see if the cached message is part of the provided stream

Extension Methods

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

Compare a cached message with a sequence token to determine if it message is before or after the token

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

Checks to see if the cached message is part of the provided stream

Applies to