ServiceBasedViewComponentActivator クラス

定義

IViewComponentActivator要求IServiceProviderの からサービスとしてビュー コンポーネントを取得する 。

public ref class ServiceBasedViewComponentActivator : Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentActivator
public class ServiceBasedViewComponentActivator : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator
type ServiceBasedViewComponentActivator = class
    interface IViewComponentActivator
Public Class ServiceBasedViewComponentActivator
Implements IViewComponentActivator
継承
ServiceBasedViewComponentActivator
実装

コンストラクター

ServiceBasedViewComponentActivator()

IViewComponentActivator要求IServiceProviderの からサービスとしてビュー コンポーネントを取得する 。

メソッド

Create(ViewComponentContext)

ViewComponent をインスタンス化します。

Release(ViewComponentContext, Object)

ViewComponent インスタンスを解放します。

適用対象