DefaultInlineConstraintResolver Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
DefaultInlineConstraintResolver(IOptions<RouteOptions>) |
Obsoleto.
Inicializa uma nova instância da classe DefaultInlineConstraintResolver. |
DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider) |
Inicializa uma nova instância da classe DefaultInlineConstraintResolver. |
DefaultInlineConstraintResolver(IOptions<RouteOptions>)
Cuidado
This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions<RouteOptions>, IServiceProvider) instead.
Inicializa uma nova instância da 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))
Parâmetros
- routeOptions
- IOptions<RouteOptions>
Acessador para RouteOptions conter as restrições de interesse.
- Atributos
Aplica-se a
DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)
Inicializa uma nova instância da 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)
Parâmetros
- routeOptions
- IOptions<RouteOptions>
Acessador para RouteOptions conter as restrições de interesse.
- serviceProvider
- IServiceProvider
O IServiceProvider do qual obter argumentos de serviço.