MvcAreaRouteBuilderExtensions.MapAreaRoute Método

Definición

Sobrecargas

MapAreaRoute(IRouteBuilder, String, String, String)

Agrega una ruta a IRouteBuilder con el área de MVC especificada con el especificado nameareaName y template.

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

Agrega una ruta a IRouteBuilder con el área de MVC especificada con el especificado name, areaName, templatey defaults.

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

Agrega una ruta a IRouteBuilder con el área de MVC especificada con el especificado name, areaName, template, defaultsy constraints.

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

Agrega una ruta a IRouteBuilder con el área de MVC especificada con el especificado name, , templateareaName, defaults, constraintsy dataTokens.

MapAreaRoute(IRouteBuilder, String, String, String)

Source:
MvcAreaRouteBuilderExtensions.cs
Source:
MvcAreaRouteBuilderExtensions.cs
Source:
MvcAreaRouteBuilderExtensions.cs

Agrega una ruta a IRouteBuilder con el área de MVC especificada con el especificado nameareaName y 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

Parámetros

routeBuilder
IRouteBuilder

IRouteBuilder al que se va a agregar la ruta.

name
String

Nombre de la ruta.

areaName
String

Nombre del área MVC.

template
String

Patrón de dirección URL de la ruta.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a

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

Source:
MvcAreaRouteBuilderExtensions.cs
Source:
MvcAreaRouteBuilderExtensions.cs
Source:
MvcAreaRouteBuilderExtensions.cs

Agrega una ruta a IRouteBuilder con el área de MVC especificada con el especificado name, areaName, templatey 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

Parámetros

routeBuilder
IRouteBuilder

IRouteBuilder al que se va a agregar la ruta.

name
String

Nombre de la ruta.

areaName
String

Nombre del área MVC.

template
String

Patrón de dirección URL de la ruta.

defaults
Object

Objeto que contiene valores predeterminados para los parámetros de ruta. Las propiedades del objeto representan los nombres y los valores de los valores predeterminados.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a

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

Source:
MvcAreaRouteBuilderExtensions.cs
Source:
MvcAreaRouteBuilderExtensions.cs
Source:
MvcAreaRouteBuilderExtensions.cs

Agrega una ruta a IRouteBuilder con el área de MVC especificada con el especificado name, areaName, template, defaultsy 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

Parámetros

routeBuilder
IRouteBuilder

IRouteBuilder al que se va a agregar la ruta.

name
String

Nombre de la ruta.

areaName
String

Nombre del área MVC.

template
String

Patrón de dirección URL de la ruta.

defaults
Object

Objeto que contiene valores predeterminados para los parámetros de ruta. Las propiedades del objeto representan los nombres y los valores de los valores predeterminados.

constraints
Object

Objeto que contiene restricciones para la ruta. Las propiedades del objeto representan los nombres y los valores de las restricciones.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a

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

Source:
MvcAreaRouteBuilderExtensions.cs
Source:
MvcAreaRouteBuilderExtensions.cs
Source:
MvcAreaRouteBuilderExtensions.cs

Agrega una ruta a IRouteBuilder con el área de MVC especificada con el especificado name, , templateareaName, defaults, constraintsy 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

Parámetros

routeBuilder
IRouteBuilder

IRouteBuilder al que se va a agregar la ruta.

name
String

Nombre de la ruta.

areaName
String

Nombre del área MVC.

template
String

Patrón de dirección URL de la ruta.

defaults
Object

Objeto que contiene valores predeterminados para los parámetros de ruta. Las propiedades del objeto representan los nombres y los valores de los valores predeterminados.

constraints
Object

Objeto que contiene restricciones para la ruta. Las propiedades del objeto representan los nombres y los valores de las restricciones.

dataTokens
Object

Objeto que contiene tokens de datos para la ruta. Las propiedades del objeto representan los nombres y valores de los tokens de datos.

Devoluciones

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a