Partilhar via


IControllerActivatorProvider.CreateActivator Método

Definição

Cria um Func<T,TResult> que cria um controlador.

public:
 Func<Microsoft::AspNetCore::Mvc::ControllerContext ^, System::Object ^> ^ CreateActivator(Microsoft::AspNetCore::Mvc::Controllers::ControllerActionDescriptor ^ descriptor);
public Func<Microsoft.AspNetCore.Mvc.ControllerContext,object> CreateActivator (Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor descriptor);
abstract member CreateActivator : Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.ControllerContext, obj>
Public Function CreateActivator (descriptor As ControllerActionDescriptor) As Func(Of ControllerContext, Object)

Parâmetros

Retornos

O delegado usado para ativar o controlador.

Aplica-se a