RouteBuilder Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
RouteBuilder(IApplicationBuilder) |
Costruisce una nuova RouteBuilder istanza in base a un oggetto |
RouteBuilder(IApplicationBuilder, IRouter) |
Costruisce una nuova RouteBuilder istanza in base a e |
RouteBuilder(IApplicationBuilder)
- Origine:
- RouteBuilder.cs
- Origine:
- RouteBuilder.cs
- Origine:
- RouteBuilder.cs
Costruisce una nuova RouteBuilder istanza in base a un oggetto applicationBuilder
.
public:
RouteBuilder(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ applicationBuilder);
public RouteBuilder (Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder);
new Microsoft.AspNetCore.Routing.RouteBuilder : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Routing.RouteBuilder
Public Sub New (applicationBuilder As IApplicationBuilder)
Parametri
- applicationBuilder
- IApplicationBuilder
Istanza di IApplicationBuilder.
Si applica a
RouteBuilder(IApplicationBuilder, IRouter)
- Origine:
- RouteBuilder.cs
- Origine:
- RouteBuilder.cs
- Origine:
- RouteBuilder.cs
Costruisce una nuova RouteBuilder istanza in base a e applicationBuilder
defaultHandler
.
public:
RouteBuilder(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ applicationBuilder, Microsoft::AspNetCore::Routing::IRouter ^ defaultHandler);
public RouteBuilder (Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder, Microsoft.AspNetCore.Routing.IRouter defaultHandler);
public RouteBuilder (Microsoft.AspNetCore.Builder.IApplicationBuilder applicationBuilder, Microsoft.AspNetCore.Routing.IRouter? defaultHandler);
new Microsoft.AspNetCore.Routing.RouteBuilder : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Routing.IRouter -> Microsoft.AspNetCore.Routing.RouteBuilder
Public Sub New (applicationBuilder As IApplicationBuilder, defaultHandler As IRouter)
Parametri
- applicationBuilder
- IApplicationBuilder
Istanza di IApplicationBuilder.
- defaultHandler
- IRouter
Valore predefinito IRouter utilizzato se viene aggiunta una nuova route senza un gestore.