ControllerActivatorProvider.CreateActivator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a Func<T,TResult> that creates a controller.
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)
Parameters
- descriptor
- ControllerActionDescriptor
Returns
The delegate used to activate the controller.