Compartir a través de


DefaultInlineConstraintResolver Constructores

Definición

Sobrecargas

DefaultInlineConstraintResolver(IOptions<RouteOptions>)
Obsoletos.

Inicializa una nueva instancia de la clase DefaultInlineConstraintResolver.

DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)

Inicializa una nueva instancia de la clase DefaultInlineConstraintResolver.

DefaultInlineConstraintResolver(IOptions<RouteOptions>)

Source:
DefaultInlineConstraintResolver.cs
Source:
DefaultInlineConstraintResolver.cs

Precaución

This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions<RouteOptions>, IServiceProvider) instead.

Inicializa una nueva instancia de la clase 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>

Descriptor de acceso para RouteOptions contener las restricciones de interés.

Atributos

Se aplica a

DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)

Source:
DefaultInlineConstraintResolver.cs
Source:
DefaultInlineConstraintResolver.cs

Inicializa una nueva instancia de la clase 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>

Descriptor de acceso para RouteOptions contener las restricciones de interés.

serviceProvider
IServiceProvider

La interfaz IServiceProvider de la que se van a obtener los argumentos de servicio.

Se aplica a