Compartilhar via


UrlHelperFactory.GetUrlHelper(ActionContext) Método

Definição

Obtém um IUrlHelper para a solicitação associada contexta .

public:
 virtual Microsoft::AspNetCore::Mvc::IUrlHelper ^ GetUrlHelper(Microsoft::AspNetCore::Mvc::ActionContext ^ context);
public Microsoft.AspNetCore.Mvc.IUrlHelper GetUrlHelper (Microsoft.AspNetCore.Mvc.ActionContext context);
abstract member GetUrlHelper : Microsoft.AspNetCore.Mvc.ActionContext -> Microsoft.AspNetCore.Mvc.IUrlHelper
override this.GetUrlHelper : Microsoft.AspNetCore.Mvc.ActionContext -> Microsoft.AspNetCore.Mvc.IUrlHelper
Public Function GetUrlHelper (context As ActionContext) As IUrlHelper

Parâmetros

context
ActionContext

O ActionContext associado à solicitação atual.

Retornos

Um IUrlHelper para a solicitação associada a context

Implementações

Aplica-se a