Microsoft.Extensions.Options Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides types used for implementing the options pattern.
Classes
Interfaces
IConfigureNamedOptions<TOptions> |
Represents something that configures the |
IConfigureOptions<TOptions> |
Represents something that configures the |
IOptions<TOptions> |
Used to retrieve configured |
IOptionsChangeTokenSource<TOptions> |
Used to fetch IChangeToken used for tracking options changes. |
IOptionsFactory<TOptions> |
Used to create |
IOptionsMonitor<TOptions> |
Used for notifications when |
IOptionsMonitorCache<TOptions> |
Used by IOptionsMonitor<TOptions> to cache |
IOptionsSnapshot<TOptions> |
Used to access the value of |
IPostConfigureOptions<TOptions> |
Represents something that configures the |
IStartupValidator |
Provides a method that hosts can use to validate options during startup. Options are enabled to be validated during startup by calling ValidateOnStart<TOptions>(OptionsBuilder<TOptions>). |
IValidateOptions<TOptions> |
Interface used to validate options. |
Remarks
For more information about implementing the options pattern, see Options pattern in .NET.
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για