共用方式為


IAsyncEnumerableGrainExtension 介面

定義

從粒紋方法傳回 IAsyncEnumerable<T> 的粒度延伸介面。

public interface IAsyncEnumerableGrainExtension : Orleans.Runtime.IGrainExtension
type IAsyncEnumerableGrainExtension = interface
    interface IGrainExtension
    interface IAddressable
Public Interface IAsyncEnumerableGrainExtension
Implements IGrainExtension
實作

方法

DisposeAsync(Guid)

IAsyncEnumerable<T>處置值。

MoveNext<T>(Guid)

繼續列舉 IAsyncEnumerable<T> 值。

StartEnumeration<T>(Guid, IAsyncEnumerableRequest<T>)

叫用 IAsyncEnumerable<T> 要求並開始列舉。

擴充方法

AsReference(IAddressable, Type)

傳回所提供粒度的具型別參考。

AsReference<TGrainInterface>(IAddressable)

傳回所提供粒度的具型別參考。

BindGrainReference(IAddressable, IGrainFactory)

將粒度參考系結至提供的 IGrainFactory

Cast(IAddressable, Type)

傳回所提供粒度的具型別參考。

Cast<TGrainInterface>(IAddressable)

傳回所提供粒度的具型別參考。

GetGrainId(IAddressable)

傳回對應至所提供粒紋的粒度標識碼。

GetPrimaryKey(IAddressable)

Guid 回粒度主鍵的表示法。

GetPrimaryKey(IAddressable, String)

Guid 回粒度主鍵的表示法。

GetPrimaryKeyLong(IAddressable)

long 回粒度主鍵的表示法。

GetPrimaryKeyLong(IAddressable, String)

long 回粒度主鍵的表示法。

GetPrimaryKeyString(IAddressable)

string 回粒度的主鍵。

IsPrimaryKeyBasedOnLong(IAddressable)

傳回主鍵的一部分是否為類型 long

適用於