Udostępnij za pośrednictwem


DefaultInlineConstraintResolver Konstruktory

Definicja

Przeciążenia

DefaultInlineConstraintResolver(IOptions<RouteOptions>)
Przestarzałe.

Inicjuje nowe wystąpienie klasy DefaultInlineConstraintResolver.

DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)

Inicjuje nowe wystąpienie klasy DefaultInlineConstraintResolver.

DefaultInlineConstraintResolver(IOptions<RouteOptions>)

Źródło:
DefaultInlineConstraintResolver.cs
Źródło:
DefaultInlineConstraintResolver.cs

Przestroga

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

Inicjuje nowe wystąpienie klasy 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))

Parametry

routeOptions
IOptions<RouteOptions>

Metodę dostępu do RouteOptions przechowywania ograniczeń zainteresowania.

Atrybuty

Dotyczy

DefaultInlineConstraintResolver(IOptions<RouteOptions>, IServiceProvider)

Źródło:
DefaultInlineConstraintResolver.cs
Źródło:
DefaultInlineConstraintResolver.cs

Inicjuje nowe wystąpienie klasy 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)

Parametry

routeOptions
IOptions<RouteOptions>

Metodę dostępu do RouteOptions przechowywania ograniczeń zainteresowania.

serviceProvider
IServiceProvider

Element do pobierania IServiceProvider argumentów usługi.

Dotyczy