HostingGrainExtensions.AddGrainExtension Metodo

Definizione

Overload

AddGrainExtension<TExtensionInterface,TExtension>(ISiloBuilder)

Registra un'implementazione dell'estensione granulare per l'interfaccia specificata.

AddGrainExtension<TExtensionInterface,TExtension>(ISiloHostBuilder)

Registra un'implementazione dell'estensione granulare per l'interfaccia specificata.

AddGrainExtension<TExtensionInterface,TExtension>(ISiloBuilder)

Origine:
HostingGrainExtensions.cs

Registra un'implementazione dell'estensione granulare per l'interfaccia specificata.

public static Orleans.Hosting.ISiloBuilder AddGrainExtension<TExtensionInterface,TExtension> (this Orleans.Hosting.ISiloBuilder builder) where TExtensionInterface : class, Orleans.Runtime.IGrainExtension where TExtension : class, TExtensionInterface;
static member AddGrainExtension : Orleans.Hosting.ISiloBuilder -> Orleans.Hosting.ISiloBuilder (requires 'ExtensionInterface : null and 'ExtensionInterface :> Orleans.Runtime.IGrainExtension)
<Extension()>
Public Function AddGrainExtension(Of TExtensionInterface As {Class, IGrainExtension}, TExtension As {Class, IGrainExtension}) (builder As ISiloBuilder) As ISiloBuilder

Parametri di tipo

TExtensionInterface

Interfaccia IGrainExtension registrata.

TExtension

Implementazione di TExtensionInterface.

Parametri

builder
ISiloBuilder

Restituisce

Si applica a

AddGrainExtension<TExtensionInterface,TExtension>(ISiloHostBuilder)

Origine:
HostingGrainExtensions.cs

Registra un'implementazione dell'estensione granulare per l'interfaccia specificata.

public static Orleans.Hosting.ISiloHostBuilder AddGrainExtension<TExtensionInterface,TExtension> (this Orleans.Hosting.ISiloHostBuilder builder) where TExtensionInterface : class, Orleans.Runtime.IGrainExtension where TExtension : class, TExtensionInterface;
static member AddGrainExtension : Orleans.Hosting.ISiloHostBuilder -> Orleans.Hosting.ISiloHostBuilder (requires 'ExtensionInterface : null and 'ExtensionInterface :> Orleans.Runtime.IGrainExtension)
<Extension()>
Public Function AddGrainExtension(Of TExtensionInterface As {Class, IGrainExtension}, TExtension As {Class, IGrainExtension}) (builder As ISiloHostBuilder) As ISiloHostBuilder

Parametri di tipo

TExtensionInterface

Interfaccia IGrainExtension registrata.

TExtension

Implementazione di TExtensionInterface.

Parametri

Restituisce

Si applica a