Skip to content

StreamSequenceTokenUtilities Methods

Utilities for comparing StreamSequenceToken instances.

Newer(StreamSequenceToken, StreamSequenceToken)

staticextension
View source
public static bool Newer(this StreamSequenceToken me, StreamSequenceToken other)
Returns true if the first token is newer than the second token.

Parameters

meStreamSequenceToken
The first token
otherStreamSequenceToken
The second token.

Returns

true if the first token is newer than the second token, false otherwise.

Older(StreamSequenceToken, StreamSequenceToken)

staticextension
View source
public static bool Older(this StreamSequenceToken me, StreamSequenceToken other)
Returns true if the first token is older than the second token.

Parameters

meStreamSequenceToken
The first token
otherStreamSequenceToken
The second token.

Returns

true if the first token is older than the second token, false otherwise.