SimpleInjectorViewComponentActivatorCreate Method

Simple Injector
Creates a view component.

Namespace:  SimpleInjector.Integration.AspNetCore.Mvc
Assembly:  SimpleInjector.Integration.AspNetCore.Mvc.Core (in SimpleInjector.Integration.AspNetCore.Mvc.Core.dll) Version: 4.10.3
Syntax

public Object Create(
	ViewComponentContext context
)

Parameters

context
Type: ViewComponentContext
The ViewComponentContext for the executing ViewComponent.

Return Value

Type: Object
A view component instance.
See Also

Reference