TreeRouteBuilder Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
TreeRouteBuilder(ILoggerFactory, ObjectPool<UriBuildingContext>, IInlineConstraintResolver) |
Inicjuje nowe wystąpienie klasy TreeRouteBuilder. |
TreeRouteBuilder(ILoggerFactory, UrlEncoder, ObjectPool<UriBuildingContext>, IInlineConstraintResolver) |
Przestarzałe.
Ten konstruktor jest przestarzały i zostanie usunięty w przyszłej wersji. Zalecaną alternatywą jest przeciążenie, które nie ma elementu UrlEncoder. Inicjuje nowe wystąpienie klasy TreeRouteBuilder. |
TreeRouteBuilder(ILoggerFactory, ObjectPool<UriBuildingContext>, IInlineConstraintResolver)
- Źródło:
- TreeRouteBuilder.cs
- Źródło:
- TreeRouteBuilder.cs
Inicjuje nowe wystąpienie klasy 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
Element ILoggerFactory.
- objectPool
- ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>
Element ObjectPool<T>.
- constraintResolver
- IInlineConstraintResolver
Element IInlineConstraintResolver.
Dotyczy
TreeRouteBuilder(ILoggerFactory, UrlEncoder, ObjectPool<UriBuildingContext>, IInlineConstraintResolver)
- Źródło:
- TreeRouteBuilder.cs
- Źródło:
- TreeRouteBuilder.cs
Przestroga
This constructor is obsolete and will be removed in a future version. The recommended alternative is the overload that does not take a UrlEncoder.
Ten konstruktor jest przestarzały i zostanie usunięty w przyszłej wersji. Zalecaną alternatywą jest przeciążenie, które nie ma elementu UrlEncoder.
Inicjuje nowe wystąpienie klasy 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
Element ILoggerFactory.
- urlEncoder
- UrlEncoder
Element UrlEncoder.
- objectPool
- ObjectPool<Microsoft.AspNetCore.Routing.Internal.UriBuildingContext>
Element ObjectPool<T>.
- constraintResolver
- IInlineConstraintResolver
Element IInlineConstraintResolver.
- Atrybuty