Edytuj

Udostępnij za pośrednictwem


CachedMessageExtensions.CompareStreamId Method

Definition

Overloads

CompareStreamId(CachedMessage, StreamId)

Compares the stream identifier of a cached message.

CompareStreamId(CachedMessage, IStreamIdentity)

CompareStreamId(CachedMessage, StreamId)

Compares the stream identifier of a cached message.

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

Parameters

cachedMessage
CachedMessage

The cached message.

streamId
StreamId

The stream identifier.

Returns

true if streamId is equal to the StreamId value; otherwise false.

Applies to

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

Parameters

cachedMessage
CachedMessage
streamIdentity
IStreamIdentity

Returns

Applies to