Sdílet prostřednictvím


DefaultViewComponentActivator(ITypeActivatorCache) Konstruktor

Definice

Inicializuje novou instanci DefaultViewComponentActivator třídy.

public:
 DefaultViewComponentActivator(Microsoft::AspNetCore::Mvc::Internal::ITypeActivatorCache ^ typeActivatorCache);
public DefaultViewComponentActivator (Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache typeActivatorCache);
new Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentActivator : Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache -> Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentActivator
Public Sub New (typeActivatorCache As ITypeActivatorCache)

Parametry

typeActivatorCache
Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache

Slouží Microsoft.AspNetCore.Mvc.Internal.ITypeActivatorCache k vytvoření nových instancí komponent zobrazení.

Platí pro