共用方式為


GrainExtensions 類別

定義

細微性的擴充方法。

public static class GrainExtensions
type GrainExtensions = class
Public Module GrainExtensions
繼承
GrainExtensions

方法

AsReference(IAddressable, Type)

傳回所提供細微性的具型別參考。

AsReference<TGrainInterface>(IAddressable)

傳回所提供細微性的具型別參考。

BindGrainReference(IAddressable, IGrainFactory)

將細微性參考系結至提供的 IGrainFactory

Cast(IAddressable, Type)

傳回所提供細微性的具型別參考。

Cast<TGrainInterface>(IAddressable)

傳回所提供細微性的具型別參考。

GetGrainId(IAddressable)

傳回對應至所提供粒紋的細微性識別碼。

GetGrainIdentity(IGrain)

細微性的擴充方法。

GetPrimaryKey(IAddressable)

Guid 回細微性主鍵的標記法。

GetPrimaryKey(IAddressable, String)

Guid 回細微性主鍵的標記法。

GetPrimaryKey(IGrain)

細微性的擴充方法。

GetPrimaryKey(IGrain, String)

細微性的擴充方法。

GetPrimaryKeyLong(IAddressable)

long 回細微性主鍵的標記法。

GetPrimaryKeyLong(IAddressable, String)

long 回細微性主鍵的標記法。

GetPrimaryKeyLong(IGrain)

細微性的擴充方法。

GetPrimaryKeyLong(IGrain, String)

細微性的擴充方法。

GetPrimaryKeyString(IAddressable)

string 回細微性的主鍵。

GetPrimaryKeyString(IGrainWithStringKey)

細微性的擴充方法。

InvokeOneWay<T>(T, Func<T,Task>)

叫用細微性介面的方法是單向方式,因此不會將回應訊息傳送給呼叫端。

InvokeOneWay<T>(T, Func<T,ValueTask>)

叫用細微性介面的方法是單向方式,因此不會將回應訊息傳送給呼叫端。

IsPrimaryKeyBasedOnLong(IAddressable)

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

適用於