SystemTarget.GetExtension<TExtensionInterface> 方法

定义

返回为提供的 TExtensionInterface注册的 grain 扩展。

public TExtensionInterface GetExtension<TExtensionInterface> () where TExtensionInterface : class, Orleans.Runtime.IGrainExtension;
abstract member GetExtension : unit -> 'ExtensionInterface (requires 'ExtensionInterface : null and 'ExtensionInterface :> Orleans.Runtime.IGrainExtension)
override this.GetExtension : unit -> 'ExtensionInterface (requires 'ExtensionInterface : null and 'ExtensionInterface :> Orleans.Runtime.IGrainExtension)
Public Function GetExtension(Of TExtensionInterface As {Class, IGrainExtension}) () As TExtensionInterface

类型参数

TExtensionInterface

grain 扩展接口。

返回

TExtensionInterface

绑定到此 grain 的扩展的实现。

实现

适用于