Partilhar via


DefaultInlineConstraintResolver Construtores

Definição

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>)

Origem:
DefaultInlineConstraintResolver.cs
Origem:
DefaultInlineConstraintResolver.cs

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)

Origem:
DefaultInlineConstraintResolver.cs
Origem:
DefaultInlineConstraintResolver.cs

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.

Aplica-se a