RouteData(Type, IReadOnlyDictionary<String,Object>) Construtor

Definição

Constrói uma instância de RouteData.

public:
 RouteData(Type ^ pageType, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^> ^ routeValues);
public RouteData (Type pageType, System.Collections.Generic.IReadOnlyDictionary<string,object> routeValues);
public RouteData (Type pageType, System.Collections.Generic.IReadOnlyDictionary<string,object?> routeValues);
new Microsoft.AspNetCore.Components.RouteData : Type * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.AspNetCore.Components.RouteData
Public Sub New (pageType As Type, routeValues As IReadOnlyDictionary(Of String, Object))

Parâmetros

pageType
Type

O tipo da página que corresponde à rota, que deve implementar IComponent.

routeValues
IReadOnlyDictionary<String,Object>

Os valores de parâmetro de rota extraídos da rota correspondente.

Aplica-se a