Share via


IGrainService 介面

定義

粒紋服務的基底介面。

public interface IGrainService : Orleans.ISystemTarget
type IGrainService = interface
    interface ISystemTarget
    interface IAddressable
Public Interface IGrainService
Implements ISystemTarget
衍生
實作

擴充方法

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

適用於