Compartir a través de


SiloPersistentStreamConfigurator.ConfigureComponent Método

Definición

Sobrecargas

ConfigureComponent<TComponent>(Func<IServiceProvider,String,TComponent>)
ConfigureComponent<TOptions,TComponent>(Func<IServiceProvider,String,TComponent>, Action<OptionsBuilder<TOptions>>)

ConfigureComponent<TComponent>(Func<IServiceProvider,String,TComponent>)

public Orleans.Streams.ISiloPersistentStreamConfigurator ConfigureComponent<TComponent> (Func<IServiceProvider,string,TComponent> factory) where TComponent : class;
abstract member ConfigureComponent : Func<IServiceProvider, string, 'Component (requires 'Component : null)> -> Orleans.Streams.ISiloPersistentStreamConfigurator (requires 'Component : null)
override this.ConfigureComponent : Func<IServiceProvider, string, 'Component (requires 'Component : null)> -> Orleans.Streams.ISiloPersistentStreamConfigurator (requires 'Component : null)
Public Function ConfigureComponent(Of TComponent As Class) (factory As Func(Of IServiceProvider, String, TComponent)) As ISiloPersistentStreamConfigurator

Parámetros de tipo

TComponent

Parámetros

factory
Func<IServiceProvider,String,TComponent>

Devoluciones

Implementaciones

Se aplica a

ConfigureComponent<TOptions,TComponent>(Func<IServiceProvider,String,TComponent>, Action<OptionsBuilder<TOptions>>)

public Orleans.Streams.ISiloPersistentStreamConfigurator ConfigureComponent<TOptions,TComponent> (Func<IServiceProvider,string,TComponent> factory, Action<Microsoft.Extensions.Options.OptionsBuilder<TOptions>> configureOptions = default) where TOptions : class, new() where TComponent : class;
abstract member ConfigureComponent : Func<IServiceProvider, string, 'Component (requires 'Component : null)> * Action<Microsoft.Extensions.Options.OptionsBuilder<'Options>> -> Orleans.Streams.ISiloPersistentStreamConfigurator (requires 'Options : null and 'Options : (new : unit -> 'Options) and 'Component : null)
override this.ConfigureComponent : Func<IServiceProvider, string, 'Component (requires 'Component : null)> * Action<Microsoft.Extensions.Options.OptionsBuilder<'Options>> -> Orleans.Streams.ISiloPersistentStreamConfigurator (requires 'Options : null and 'Options : (new : unit -> 'Options) and 'Component : null)
Public Function ConfigureComponent(Of TOptions As {Class, New}, TComponent As {Class, New}) (factory As Func(Of IServiceProvider, String, TComponent), Optional configureOptions As Action(Of OptionsBuilder(Of TOptions)) = Nothing) As ISiloPersistentStreamConfigurator

Parámetros de tipo

TOptions
TComponent

Parámetros

factory
Func<IServiceProvider,String,TComponent>
configureOptions
Action<OptionsBuilder<TOptions>>

Devoluciones

Implementaciones

Se aplica a