ConfigureNamedOptions<TOptions> Klasse

Definition

Implementierung von IConfigureNamedOptions<TOptions>.

generic <typename TOptions>
 where TOptions : classpublic ref class ConfigureNamedOptions : Microsoft::Extensions::Options::IConfigureNamedOptions<TOptions>, Microsoft::Extensions::Options::IConfigureOptions<TOptions>
public class ConfigureNamedOptions<TOptions> : Microsoft.Extensions.Options.IConfigureNamedOptions<TOptions>, Microsoft.Extensions.Options.IConfigureOptions<TOptions> where TOptions : class
type ConfigureNamedOptions<'Options (requires 'Options : null)> = class
    interface IConfigureNamedOptions<'Options (requires 'Options : null)>
    interface IConfigureOptions<'Options (requires 'Options : null)>
Public Class ConfigureNamedOptions(Of TOptions)
Implements IConfigureNamedOptions(Of TOptions), IConfigureOptions(Of TOptions)

Typparameter

TOptions

Optionstyp, der konfiguriert wird.

Vererbung
ConfigureNamedOptions<TOptions>
Abgeleitet
Implementiert

Konstruktoren

ConfigureNamedOptions<TOptions>(String, Action<TOptions>)

Konstruktor.

Eigenschaften

Action

Die Konfigurationsaktion.

Name

Der Optionsname.

Methoden

Configure(String, TOptions)

Ruft die registrierte Action zum Konfigurieren auf, wenn name übereinstimmt.

Configure(TOptions)

Wird aufgerufen, um eine TOptions-Instanz mit DefaultName zu konfigurieren.

Equals(Object)

Bestimmt, ob das angegebene Objekt gleich dem aktuellen Objekt ist.

(Geerbt von Object)
GetHashCode()

Fungiert als Standardhashfunktion.

(Geerbt von Object)
GetType()

Ruft den Type der aktuellen Instanz ab.

(Geerbt von Object)
MemberwiseClone()

Erstellt eine flache Kopie des aktuellen Object.

(Geerbt von Object)
ToString()

Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt.

(Geerbt von Object)

Gilt für: