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.1.0-alpha1
Syntax

public Object Create(
	ViewComponentContext context
)

Parameters

context
Type: ViewComponentContext
The ViewComponentContext for the executing ViewComponent.

Return Value

Type: Object
A view component instance.

Implements

IViewComponentActivator.Create(ViewComponentContext)
See Also

Reference