ConfigureNamedOptions<TOptions,TDep1,TDep2> Constructor

Definition

Constructor.

public ConfigureNamedOptions (string? name, TDep1 dependency, TDep2 dependency2, Action<TOptions,TDep1,TDep2>? action);

Parameters

name
String

The name of the options.

dependency
TDep1

A dependency.

dependency2
TDep2

A second dependency.

action
Action<TOptions,TDep1,TDep2>

The action to register.

Applies to

Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)