Bagikan melalui


MvcAreaRouteBuilderExtensions.MapAreaRoute Metode

Definisi

Overload

MapAreaRoute(IRouteBuilder, String, String, String)

Menambahkan rute ke IRouteBuilder dengan area MVC yang diberikan dengan , areaName dan templateyang ditentukanname.

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

Menambahkan rute ke IRouteBuilder dengan area MVC yang diberikan dengan , , areaNametemplate, dan defaultsyang ditentukanname.

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

Menambahkan rute ke IRouteBuilder dengan area MVC yang diberikan dengan , , areaName, templatedefaults, dan constraintsyang ditentukanname.

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

Menambahkan rute ke IRouteBuilder dengan area MVC yang diberikan dengan , , areaName, defaultstemplate, , constraintsdan dataTokensyang ditentukanname.

MapAreaRoute(IRouteBuilder, String, String, String)

Sumber:
MvcAreaRouteBuilderExtensions.cs
Sumber:
MvcAreaRouteBuilderExtensions.cs
Sumber:
MvcAreaRouteBuilderExtensions.cs

Menambahkan rute ke IRouteBuilder dengan area MVC yang diberikan dengan , areaName dan templateyang ditentukanname.

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

Parameter

routeBuilder
IRouteBuilder

IRouteBuilder untuk menambahkan rute.

name
String

Nama rute.

areaName
String

Nama area MVC.

template
String

Pola URL rute.

Mengembalikan

Referensi ke instans ini setelah operasi selesai.

Berlaku untuk

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

Sumber:
MvcAreaRouteBuilderExtensions.cs
Sumber:
MvcAreaRouteBuilderExtensions.cs
Sumber:
MvcAreaRouteBuilderExtensions.cs

Menambahkan rute ke IRouteBuilder dengan area MVC yang diberikan dengan , , areaNametemplate, dan defaultsyang ditentukanname.

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

Parameter

routeBuilder
IRouteBuilder

IRouteBuilder untuk menambahkan rute.

name
String

Nama rute.

areaName
String

Nama area MVC.

template
String

Pola URL rute.

defaults
Object

Objek yang berisi nilai default untuk parameter rute. Properti objek mewakili nama dan nilai nilai default.

Mengembalikan

Referensi ke instans ini setelah operasi selesai.

Berlaku untuk

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

Sumber:
MvcAreaRouteBuilderExtensions.cs
Sumber:
MvcAreaRouteBuilderExtensions.cs
Sumber:
MvcAreaRouteBuilderExtensions.cs

Menambahkan rute ke IRouteBuilder dengan area MVC yang diberikan dengan , , areaName, templatedefaults, dan constraintsyang ditentukanname.

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

Parameter

routeBuilder
IRouteBuilder

IRouteBuilder untuk menambahkan rute.

name
String

Nama rute.

areaName
String

Nama area MVC.

template
String

Pola URL rute.

defaults
Object

Objek yang berisi nilai default untuk parameter rute. Properti objek mewakili nama dan nilai nilai default.

constraints
Object

Objek yang berisi batasan untuk rute. Properti objek mewakili nama dan nilai batasan.

Mengembalikan

Referensi ke instans ini setelah operasi selesai.

Berlaku untuk

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

Sumber:
MvcAreaRouteBuilderExtensions.cs
Sumber:
MvcAreaRouteBuilderExtensions.cs
Sumber:
MvcAreaRouteBuilderExtensions.cs

Menambahkan rute ke IRouteBuilder dengan area MVC yang diberikan dengan , , areaName, defaultstemplate, , constraintsdan dataTokensyang ditentukanname.

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

Parameter

routeBuilder
IRouteBuilder

IRouteBuilder untuk menambahkan rute.

name
String

Nama rute.

areaName
String

Nama area MVC.

template
String

Pola URL rute.

defaults
Object

Objek yang berisi nilai default untuk parameter rute. Properti objek mewakili nama dan nilai nilai default.

constraints
Object

Objek yang berisi batasan untuk rute. Properti objek mewakili nama dan nilai batasan.

dataTokens
Object

Objek yang berisi token data untuk rute. Properti objek mewakili nama dan nilai token data.

Mengembalikan

Referensi ke instans ini setelah operasi selesai.

Berlaku untuk