Düzenle

Aracılığıyla paylaş


NamedServiceConfigurator Class

Definition

Component configurator base class for names services This associates any configurations or subcomponents with the same name as the service being configured

public class NamedServiceConfigurator : Orleans.Hosting.INamedServiceConfigurator
type NamedServiceConfigurator = class
    interface INamedServiceConfigurator
Public Class NamedServiceConfigurator
Implements INamedServiceConfigurator
Inheritance
NamedServiceConfigurator
Derived
Implements

Constructors

NamedServiceConfigurator(String, Action<Action<IServiceCollection>>)

Initializes a new instance of the NamedServiceConfigurator class.

Properties

ConfigureDelegate

Gets the delegate used to configure the service.

Name

Gets the service name.

Extension Methods

Configure<TOptions>(INamedServiceConfigurator, Action<OptionsBuilder<TOptions>>)

Configures options for a named service.

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

Adds a singleton component to a named service.

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

Adds a singleton component to a named service and configures options for the named service.

ConfigureLifecycle<T>(INamedServiceConfigurator)

Applies to