BeforeViewPageEventData Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de BeforeViewPageEventData.
public:
BeforeViewPageEventData(Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^ page, Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ viewContext, Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ actionDescriptor, Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public BeforeViewPageEventData (Microsoft.AspNetCore.Mvc.Razor.IRazorPage page, Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor, Microsoft.AspNetCore.Http.HttpContext httpContext);
new Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewPageEventData : Microsoft.AspNetCore.Mvc.Razor.IRazorPage * Microsoft.AspNetCore.Mvc.Rendering.ViewContext * Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor * Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Mvc.Diagnostics.BeforeViewPageEventData
Public Sub New (page As IRazorPage, viewContext As ViewContext, actionDescriptor As ActionDescriptor, httpContext As HttpContext)
Paramètres
- page
- IRazorPage
Page.
- viewContext
- ViewContext
Contexte d'affichage.
- actionDescriptor
- ActionDescriptor
Action.
- httpContext
- HttpContext
Contexte HTTP.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour