AfterViewComponentEventData 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 AfterViewComponentEventData 的新实例。
public:
AfterViewComponentEventData(Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^ actionDescriptor, Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentContext ^ viewComponentContext, Microsoft::AspNetCore::Mvc::IViewComponentResult ^ viewComponentResult, System::Object ^ viewComponent);
public AfterViewComponentEventData (Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor actionDescriptor, Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext viewComponentContext, Microsoft.AspNetCore.Mvc.IViewComponentResult viewComponentResult, object viewComponent);
new Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewComponentEventData : Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor * Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentContext * Microsoft.AspNetCore.Mvc.IViewComponentResult * obj -> Microsoft.AspNetCore.Mvc.Diagnostics.AfterViewComponentEventData
Public Sub New (actionDescriptor As ActionDescriptor, viewComponentContext As ViewComponentContext, viewComponentResult As IViewComponentResult, viewComponent As Object)
参数
- actionDescriptor
- ActionDescriptor
- viewComponentContext
- ViewComponentContext
- viewComponentResult
- IViewComponentResult
- viewComponent
- Object