Edit

Share via


SystemTarget.GetExtension<TExtensionInterface> Method

Definition

Returns the grain extension registered for the provided TExtensionInterface.

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

Type Parameters

TExtensionInterface

The grain extension interface.

Returns

TExtensionInterface

The implementation of the extension which is bound to this grain.

Implements

Applies to