IViewComponentFactory Interface

Definition

Provides methods for creation and disposal of view components.

C#
public interface IViewComponentFactory
Derived

Methods

CreateViewComponent(ViewComponentContext)

Creates a new controller for the specified context.

ReleaseViewComponent(ViewComponentContext, Object)

Releases a view component instance.

ReleaseViewComponentAsync(ViewComponentContext, Object)

Releases a view component instance asynchronously.

Applies to

Tuote Versiot
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0