TreeRouteBuilder Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
TreeRouteBuilder(ILoggerFactory, ObjectPool<UriBuildingContext>, IInlineConstraintResolver) |
Inicializuje novou instanci .TreeRouteBuilder |
TreeRouteBuilder(ILoggerFactory, UrlEncoder, ObjectPool<UriBuildingContext>, IInlineConstraintResolver) |
Zastaralé.
Tento konstruktor je zastaralý a v budoucí verzi bude odebrán. Doporučenou alternativou je přetížení, které nebere UrlEncoder. Inicializuje novou instanci .TreeRouteBuilder |
TreeRouteBuilder(ILoggerFactory, ObjectPool<UriBuildingContext>, IInlineConstraintResolver)
- Zdroj:
- TreeRouteBuilder.cs
- Zdroj:
- TreeRouteBuilder.cs
Inicializuje novou instanci .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)
Parametry
- loggerFactory
- ILoggerFactory
Hodnota ILoggerFactory
- objectPool
- ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>
Hodnota ObjectPool<T>
- constraintResolver
- IInlineConstraintResolver
Hodnota IInlineConstraintResolver
Platí pro
TreeRouteBuilder(ILoggerFactory, UrlEncoder, ObjectPool<UriBuildingContext>, IInlineConstraintResolver)
- Zdroj:
- TreeRouteBuilder.cs
- Zdroj:
- TreeRouteBuilder.cs
Upozornění
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that does not take a UrlEncoder.
Tento konstruktor je zastaralý a v budoucí verzi bude odebrán. Doporučenou alternativou je přetížení, které nebere UrlEncoder.
Inicializuje novou instanci .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)
Parametry
- loggerFactory
- ILoggerFactory
Hodnota ILoggerFactory
- urlEncoder
- UrlEncoder
Hodnota UrlEncoder
- objectPool
- ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>
Hodnota ObjectPool<T>
- constraintResolver
- IInlineConstraintResolver
Hodnota IInlineConstraintResolver
- Atributy