Udostępnij za pośrednictwem


MvcAreaRouteBuilderExtensions.MapAreaRoute Metoda

Definicja

Przeciążenia

MapAreaRoute(IRouteBuilder, String, String, String)

Dodaje trasę do elementu IRouteBuilder z danym obszarem MVC z określonymi nameelementami i templateareaName .

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

Dodaje trasę do elementu IRouteBuilder z danym obszarem MVC z określonymi nameelementami , areaName, templatei defaults.

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

Dodaje trasę do elementu IRouteBuilder z danym obszarem MVC z określonymi nameelementami , , areaNametemplate, defaultsi constraints.

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

Dodaje trasę do elementu IRouteBuilder z danym obszarem MVC z określonymi nameelementami , , areaName, templatedefaults, constraintsi dataTokens.

MapAreaRoute(IRouteBuilder, String, String, String)

Źródło:
MvcAreaRouteBuilderExtensions.cs
Źródło:
MvcAreaRouteBuilderExtensions.cs
Źródło:
MvcAreaRouteBuilderExtensions.cs

Dodaje trasę do elementu IRouteBuilder z danym obszarem MVC z określonymi nameelementami i templateareaName .

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

Parametry

routeBuilder
IRouteBuilder

Element IRouteBuilder umożliwiający dodanie trasy do.

name
String

Nazwa trasy.

areaName
String

Nazwa obszaru MVC.

template
String

Wzorzec adresu URL trasy.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Dotyczy

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

Źródło:
MvcAreaRouteBuilderExtensions.cs
Źródło:
MvcAreaRouteBuilderExtensions.cs
Źródło:
MvcAreaRouteBuilderExtensions.cs

Dodaje trasę do elementu IRouteBuilder z danym obszarem MVC z określonymi nameelementami , areaName, templatei 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

Parametry

routeBuilder
IRouteBuilder

Element IRouteBuilder umożliwiający dodanie trasy do.

name
String

Nazwa trasy.

areaName
String

Nazwa obszaru MVC.

template
String

Wzorzec adresu URL trasy.

defaults
Object

Obiekt zawierający wartości domyślne parametrów trasy. Właściwości obiektu reprezentują nazwy i wartości domyślne.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Dotyczy

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

Źródło:
MvcAreaRouteBuilderExtensions.cs
Źródło:
MvcAreaRouteBuilderExtensions.cs
Źródło:
MvcAreaRouteBuilderExtensions.cs

Dodaje trasę do elementu IRouteBuilder z danym obszarem MVC z określonymi nameelementami , , areaNametemplate, defaultsi 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

Parametry

routeBuilder
IRouteBuilder

Element IRouteBuilder umożliwiający dodanie trasy do.

name
String

Nazwa trasy.

areaName
String

Nazwa obszaru MVC.

template
String

Wzorzec adresu URL trasy.

defaults
Object

Obiekt zawierający wartości domyślne parametrów trasy. Właściwości obiektu reprezentują nazwy i wartości domyślne.

constraints
Object

Obiekt, który zawiera ograniczenia trasy. Właściwości obiektu reprezentują nazwy i wartości ograniczeń.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Dotyczy

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

Źródło:
MvcAreaRouteBuilderExtensions.cs
Źródło:
MvcAreaRouteBuilderExtensions.cs
Źródło:
MvcAreaRouteBuilderExtensions.cs

Dodaje trasę do elementu IRouteBuilder z danym obszarem MVC z określonymi nameelementami , , areaName, templatedefaults, constraintsi 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

Parametry

routeBuilder
IRouteBuilder

Element IRouteBuilder umożliwiający dodanie trasy do.

name
String

Nazwa trasy.

areaName
String

Nazwa obszaru MVC.

template
String

Wzorzec adresu URL trasy.

defaults
Object

Obiekt zawierający wartości domyślne parametrów trasy. Właściwości obiektu reprezentują nazwy i wartości domyślne.

constraints
Object

Obiekt, który zawiera ograniczenia trasy. Właściwości obiektu reprezentują nazwy i wartości ograniczeń.

dataTokens
Object

Obiekt, który zawiera tokeny danych dla trasy. Właściwości obiektu reprezentują nazwy i wartości tokenów danych.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji.

Dotyczy