RouteBase.OnVirtualPathGenerated(VirtualPathContext) 方法

定义

每当虚拟路径派生自 时执行 context

protected:
 abstract Microsoft::AspNetCore::Routing::VirtualPathData ^ OnVirtualPathGenerated(Microsoft::AspNetCore::Routing::VirtualPathContext ^ context);
protected abstract Microsoft.AspNetCore.Routing.VirtualPathData OnVirtualPathGenerated (Microsoft.AspNetCore.Routing.VirtualPathContext context);
protected abstract Microsoft.AspNetCore.Routing.VirtualPathData? OnVirtualPathGenerated (Microsoft.AspNetCore.Routing.VirtualPathContext context);
abstract member OnVirtualPathGenerated : Microsoft.AspNetCore.Routing.VirtualPathContext -> Microsoft.AspNetCore.Routing.VirtualPathData
Protected MustOverride Function OnVirtualPathGenerated (context As VirtualPathContext) As VirtualPathData

参数

context
VirtualPathContext

一个 VirtualPathContext 实例。

返回

一个 VirtualPathData 实例。

适用于