DefaultInlineConstraintResolver Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
DefaultInlineConstraintResolver(IOptions<RouteOptions>) |
Obsoleti.
Inizializza una nuova istanza della classe DefaultInlineConstraintResolver. |
DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider) |
Inizializza una nuova istanza della classe DefaultInlineConstraintResolver. |
DefaultInlineConstraintResolver(IOptions<RouteOptions>)
Attenzione
This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions<RouteOptions>, IServiceProvider) instead.
Inizializza una nuova istanza della classe DefaultInlineConstraintResolver.
public:
DefaultInlineConstraintResolver(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Routing::RouteOptions ^> ^ routeOptions);
public DefaultInlineConstraintResolver (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Routing.RouteOptions> routeOptions);
[System.Obsolete("This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions<RouteOptions>, IServiceProvider) instead.")]
public DefaultInlineConstraintResolver (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Routing.RouteOptions> routeOptions);
new Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Routing.RouteOptions> -> Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver
[<System.Obsolete("This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions<RouteOptions>, IServiceProvider) instead.")>]
new Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Routing.RouteOptions> -> Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver
Public Sub New (routeOptions As IOptions(Of RouteOptions))
Parametri
- routeOptions
- IOptions<RouteOptions>
Funzione di accesso per RouteOptions contenere i vincoli di interesse.
- Attributi
Si applica a
DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)
Inizializza una nuova istanza della classe DefaultInlineConstraintResolver.
public:
DefaultInlineConstraintResolver(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Routing::RouteOptions ^> ^ routeOptions, IServiceProvider ^ serviceProvider);
public DefaultInlineConstraintResolver (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Routing.RouteOptions> routeOptions, IServiceProvider serviceProvider);
new Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Routing.RouteOptions> * IServiceProvider -> Microsoft.AspNetCore.Routing.DefaultInlineConstraintResolver
Public Sub New (routeOptions As IOptions(Of RouteOptions), serviceProvider As IServiceProvider)
Parametri
- routeOptions
- IOptions<RouteOptions>
Funzione di accesso per RouteOptions contenere i vincoli di interesse.
- serviceProvider
- IServiceProvider
Oggetto IServiceProvider da cui ottenere gli argomenti del servizio.