Partager via


DefaultInlineConstraintResolver Constructeurs

Définition

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

Source:
DefaultInlineConstraintResolver.cs
Source:
DefaultInlineConstraintResolver.cs

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)

Source:
DefaultInlineConstraintResolver.cs
Source:
DefaultInlineConstraintResolver.cs

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.

S’applique à