Partager via


TreeRouteBuilder Constructeurs

Définition

Surcharges

TreeRouteBuilder(ILoggerFactory, ObjectPool<UriBuildingContext>, IInlineConstraintResolver)

Initialise une nouvelle instance de TreeRouteBuilder.

TreeRouteBuilder(ILoggerFactory, UrlEncoder, ObjectPool<UriBuildingContext>, IInlineConstraintResolver)
Obsolète.

Ce constructeur est obsolète et sera supprimé dans une version ultérieure. L’alternative recommandée est la surcharge qui ne prend pas d’UrlEncoder.

Initialise une nouvelle instance de TreeRouteBuilder.

TreeRouteBuilder(ILoggerFactory, ObjectPool<UriBuildingContext>, IInlineConstraintResolver)

Source:
TreeRouteBuilder.cs
Source:
TreeRouteBuilder.cs

Initialise une nouvelle instance de TreeRouteBuilder.

public:
 TreeRouteBuilder(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::ObjectPool::ObjectPool<Microsoft::AspNetCore::Routing::Internal::UriBuildingContext ^> ^ objectPool, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ constraintResolver);
public TreeRouteBuilder (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> objectPool, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver);
new Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder : Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder
Public Sub New (loggerFactory As ILoggerFactory, objectPool As ObjectPool(Of UriBuildingContext), constraintResolver As IInlineConstraintResolver)

Paramètres

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

objectPool
ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>

L’ObjectPool<T>opérateur

constraintResolver
IInlineConstraintResolver

L’IInlineConstraintResolveropérateur

S’applique à

TreeRouteBuilder(ILoggerFactory, UrlEncoder, ObjectPool<UriBuildingContext>, IInlineConstraintResolver)

Source:
TreeRouteBuilder.cs
Source:
TreeRouteBuilder.cs

Attention

This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that does not take a UrlEncoder.

Ce constructeur est obsolète et sera supprimé dans une version ultérieure. L’alternative recommandée est la surcharge qui ne prend pas d’UrlEncoder.

Initialise une nouvelle instance de TreeRouteBuilder.

public:
 TreeRouteBuilder(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Text::Encodings::Web::UrlEncoder ^ urlEncoder, Microsoft::Extensions::ObjectPool::ObjectPool<Microsoft::AspNetCore::Routing::Internal::UriBuildingContext ^> ^ objectPool, Microsoft::AspNetCore::Routing::IInlineConstraintResolver ^ constraintResolver);
public TreeRouteBuilder (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.UrlEncoder urlEncoder, Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> objectPool, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver);
[System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that does not take a UrlEncoder.")]
public TreeRouteBuilder (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.UrlEncoder urlEncoder, Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> objectPool, Microsoft.AspNetCore.Routing.IInlineConstraintResolver constraintResolver);
new Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder : Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder
[<System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that does not take a UrlEncoder.")>]
new Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder : Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.UrlEncoder * Microsoft.Extensions.ObjectPool.ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext> * Microsoft.AspNetCore.Routing.IInlineConstraintResolver -> Microsoft.AspNetCore.Routing.Tree.TreeRouteBuilder
Public Sub New (loggerFactory As ILoggerFactory, urlEncoder As UrlEncoder, objectPool As ObjectPool(Of UriBuildingContext), constraintResolver As IInlineConstraintResolver)

Paramètres

loggerFactory
ILoggerFactory

L’ILoggerFactoryopérateur

urlEncoder
UrlEncoder

L’UrlEncoderopérateur

objectPool
ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>

L’ObjectPool<T>opérateur

constraintResolver
IInlineConstraintResolver

L’IInlineConstraintResolveropérateur

Attributs

S’applique à