DefaultInlineConstraintResolver Constructors

Definition

Overloads

DefaultInlineConstraintResolver(IOptions<RouteOptions>)
Obsolete.

Initializes a new instance of the DefaultInlineConstraintResolver class.

DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)

Initializes a new instance of the DefaultInlineConstraintResolver class.

DefaultInlineConstraintResolver(IOptions<RouteOptions>)

Source:
DefaultInlineConstraintResolver.cs
Source:
DefaultInlineConstraintResolver.cs

Caution

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

Initializes a new instance of the DefaultInlineConstraintResolver class.

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

Parameters

routeOptions
IOptions<RouteOptions>

Accessor for RouteOptions containing the constraints of interest.

Attributes

Applies to

DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)

Source:
DefaultInlineConstraintResolver.cs
Source:
DefaultInlineConstraintResolver.cs

Initializes a new instance of the DefaultInlineConstraintResolver class.

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)

Parameters

routeOptions
IOptions<RouteOptions>

Accessor for RouteOptions containing the constraints of interest.

serviceProvider
IServiceProvider

The IServiceProvider to get service arguments from.

Applies to