DefaultInlineConstraintResolver Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
DefaultInlineConstraintResolver(IOptions<RouteOptions>) |
Obsolète.
Initialise une nouvelle instance de la classe DefaultInlineConstraintResolver. |
DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider) |
Initialise une nouvelle instance de la classe DefaultInlineConstraintResolver. |
DefaultInlineConstraintResolver(IOptions<RouteOptions>)
Attention
This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions<RouteOptions>, IServiceProvider) instead.
Initialise une nouvelle instance de la 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))
Paramètres
- routeOptions
- IOptions<RouteOptions>
Accesseur pour RouteOptions contenir les contraintes d’intérêt.
- Attributs
S’applique à
DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)
Initialise une nouvelle instance de la 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)
Paramètres
- routeOptions
- IOptions<RouteOptions>
Accesseur pour RouteOptions contenir les contraintes d’intérêt.
- serviceProvider
- IServiceProvider
IServiceProvider à partir duquel récupérer les arguments de service.