Compartir a través de


ControllerActivatorProvider.CreateActivator Método

Definición

Crea un Func<T,TResult> objeto que crea un controlador.

public:
 virtual 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>
override this.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

Devoluciones

Delegado utilizado para activar el controlador.

Implementaciones

Se aplica a