SimpleInjectorViewComponentActivatorRelease Method

Simple Injector
Releases the view component.

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

public void Release(
	ViewComponentContext context,
	Object viewComponent
)

Parameters

context
Type: ViewComponentContext
The ViewComponentContext associated with the viewComponent.
viewComponent
Type: SystemObject
The view component to release.
See Also

Reference