Partilhar via


IControllerFactoryProvider.CreateControllerFactory Método

Definição

Cria uma fábrica para produzir controladores para o especificado descriptor.

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

Parâmetros

Retornos

A fábrica do controlador.

Aplica-se a