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

Implements

IViewComponentActivator.Release(ViewComponentContext, Object)
See Also

Reference