Condividi tramite


MvcAreaRouteBuilderExtensions.MapAreaRoute Metodo

Definizione

Overload

MapAreaRoute(IRouteBuilder, String, String, String)

Aggiunge una route al IRouteBuilder con l'area MVC specificata con l'namespecificato, areaName e template.

MapAreaRoute(IRouteBuilder, String, String, String, Object)

Aggiunge una route al IRouteBuilder con l'area MVC specificata con il namespecificato, areaName, templatee defaults.

MapAreaRoute(IRouteBuilder, String, String, String, Object, Object)

Aggiunge una route al IRouteBuilder con l'area MVC specificata con l'name, areaName, template, defaultse constraints.

MapAreaRoute(IRouteBuilder, String, String, String, Object, Object, Object)

Aggiunge una route al IRouteBuilder con l'area MVC specificata con il namespecificato, areaName, template, defaults, constraintse dataTokens.

MapAreaRoute(IRouteBuilder, String, String, String)

Origine:
MvcAreaRouteBuilderExtensions.cs
Origine:
MvcAreaRouteBuilderExtensions.cs
Origine:
MvcAreaRouteBuilderExtensions.cs

Aggiunge una route al IRouteBuilder con l'area MVC specificata con l'namespecificato, areaName e template.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapAreaRoute(Microsoft::AspNetCore::Routing::IRouteBuilder ^ routeBuilder, System::String ^ name, System::String ^ areaName, System::String ^ template);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string template);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string? template);
static member MapAreaRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * string -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapAreaRoute (routeBuilder As IRouteBuilder, name As String, areaName As String, template As String) As IRouteBuilder

Parametri

routeBuilder
IRouteBuilder

Il IRouteBuilder a cui aggiungere la route.

name
String

Nome della route.

areaName
String

Nome dell'area MVC.

template
String

Modello url della route.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a

MapAreaRoute(IRouteBuilder, String, String, String, Object)

Origine:
MvcAreaRouteBuilderExtensions.cs
Origine:
MvcAreaRouteBuilderExtensions.cs
Origine:
MvcAreaRouteBuilderExtensions.cs

Aggiunge una route al IRouteBuilder con l'area MVC specificata con il namespecificato, areaName, templatee defaults.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapAreaRoute(Microsoft::AspNetCore::Routing::IRouteBuilder ^ routeBuilder, System::String ^ name, System::String ^ areaName, System::String ^ template, System::Object ^ defaults);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string template, object defaults);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string? template, object? defaults);
static member MapAreaRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * string * obj -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapAreaRoute (routeBuilder As IRouteBuilder, name As String, areaName As String, template As String, defaults As Object) As IRouteBuilder

Parametri

routeBuilder
IRouteBuilder

Il IRouteBuilder a cui aggiungere la route.

name
String

Nome della route.

areaName
String

Nome dell'area MVC.

template
String

Modello url della route.

defaults
Object

Oggetto che contiene valori predefiniti per i parametri di route. Le proprietà dell'oggetto rappresentano i nomi e i valori dei valori predefiniti.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a

MapAreaRoute(IRouteBuilder, String, String, String, Object, Object)

Origine:
MvcAreaRouteBuilderExtensions.cs
Origine:
MvcAreaRouteBuilderExtensions.cs
Origine:
MvcAreaRouteBuilderExtensions.cs

Aggiunge una route al IRouteBuilder con l'area MVC specificata con l'name, areaName, template, defaultse constraints.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapAreaRoute(Microsoft::AspNetCore::Routing::IRouteBuilder ^ routeBuilder, System::String ^ name, System::String ^ areaName, System::String ^ template, System::Object ^ defaults, System::Object ^ constraints);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string template, object defaults, object constraints);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string? template, object? defaults, object? constraints);
static member MapAreaRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * string * obj * obj -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapAreaRoute (routeBuilder As IRouteBuilder, name As String, areaName As String, template As String, defaults As Object, constraints As Object) As IRouteBuilder

Parametri

routeBuilder
IRouteBuilder

Il IRouteBuilder a cui aggiungere la route.

name
String

Nome della route.

areaName
String

Nome dell'area MVC.

template
String

Modello url della route.

defaults
Object

Oggetto che contiene valori predefiniti per i parametri di route. Le proprietà dell'oggetto rappresentano i nomi e i valori dei valori predefiniti.

constraints
Object

Oggetto che contiene vincoli per la route. Le proprietà dell'oggetto rappresentano i nomi e i valori dei vincoli.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a

MapAreaRoute(IRouteBuilder, String, String, String, Object, Object, Object)

Origine:
MvcAreaRouteBuilderExtensions.cs
Origine:
MvcAreaRouteBuilderExtensions.cs
Origine:
MvcAreaRouteBuilderExtensions.cs

Aggiunge una route al IRouteBuilder con l'area MVC specificata con il namespecificato, areaName, template, defaults, constraintse dataTokens.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::IRouteBuilder ^ MapAreaRoute(Microsoft::AspNetCore::Routing::IRouteBuilder ^ routeBuilder, System::String ^ name, System::String ^ areaName, System::String ^ template, System::Object ^ defaults, System::Object ^ constraints, System::Object ^ dataTokens);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string template, object defaults, object constraints, object dataTokens);
public static Microsoft.AspNetCore.Routing.IRouteBuilder MapAreaRoute (this Microsoft.AspNetCore.Routing.IRouteBuilder routeBuilder, string name, string areaName, string? template, object? defaults, object? constraints, object? dataTokens);
static member MapAreaRoute : Microsoft.AspNetCore.Routing.IRouteBuilder * string * string * string * obj * obj * obj -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function MapAreaRoute (routeBuilder As IRouteBuilder, name As String, areaName As String, template As String, defaults As Object, constraints As Object, dataTokens As Object) As IRouteBuilder

Parametri

routeBuilder
IRouteBuilder

Il IRouteBuilder a cui aggiungere la route.

name
String

Nome della route.

areaName
String

Nome dell'area MVC.

template
String

Modello url della route.

defaults
Object

Oggetto che contiene valori predefiniti per i parametri di route. Le proprietà dell'oggetto rappresentano i nomi e i valori dei valori predefiniti.

constraints
Object

Oggetto che contiene vincoli per la route. Le proprietà dell'oggetto rappresentano i nomi e i valori dei vincoli.

dataTokens
Object

Oggetto che contiene token di dati per la route. Le proprietà dell'oggetto rappresentano i nomi e i valori dei token di dati.

Restituisce

Riferimento a questa istanza dopo il completamento dell'operazione.

Si applica a