CachedMessageExtensions.CompareStreamId 方法

定义

重载

CompareStreamId(CachedMessage, StreamId)

比较缓存消息的流标识符。

CompareStreamId(CachedMessage, IStreamIdentity)

CompareStreamId(CachedMessage, StreamId)

比较缓存消息的流标识符。

public static bool CompareStreamId (this ref Orleans.Providers.Streams.Common.CachedMessage cachedMessage, Orleans.Runtime.StreamId streamId);
static member CompareStreamId : CachedMessage * Orleans.Runtime.StreamId -> bool
<Extension()>
Public Function CompareStreamId (ByRef cachedMessage As CachedMessage, streamId As StreamId) As Boolean

参数

cachedMessage
CachedMessage

缓存的消息。

streamId
StreamId

流标识符。

返回

true 如果 streamId 等于 值, StreamId 则为 ;否则为 false

适用于

CompareStreamId(CachedMessage, IStreamIdentity)

Source:
CachedMessage.cs
public static bool CompareStreamId (this ref Orleans.Providers.Streams.Common.CachedMessage cachedMessage, Orleans.Streams.IStreamIdentity streamIdentity);
static member CompareStreamId : CachedMessage * Orleans.Streams.IStreamIdentity -> bool
<Extension()>
Public Function CompareStreamId (ByRef cachedMessage As CachedMessage, streamIdentity As IStreamIdentity) As Boolean

参数

cachedMessage
CachedMessage
streamIdentity
IStreamIdentity

返回

适用于