IGrainExtensionBinder.GetExtension<TExtensionInterface> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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.