DefaultInlineConstraintResolver Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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>)
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)
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.