1 implementation of ITypeActivatorCache
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\TypeActivatorCache.cs (1)
13
internal sealed class TypeActivatorCache :
ITypeActivatorCache
7 references to ITypeActivatorCache
Microsoft.AspNetCore.Mvc.Core (4)
Controllers\DefaultControllerActivator.cs (3)
14
private readonly
ITypeActivatorCache
_typeActivatorCache;
19
/// <param name="typeActivatorCache">The <see cref="
ITypeActivatorCache
"/>.</param>
20
public DefaultControllerActivator(
ITypeActivatorCache
typeActivatorCache)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
228
services.TryAddSingleton<
ITypeActivatorCache
, TypeActivatorCache>();
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
ViewComponents\DefaultViewComponentActivator.cs (3)
19
private readonly
ITypeActivatorCache
_typeActivatorCache;
25
/// The <see cref="
ITypeActivatorCache
"/> used to create new view component instances.
27
public DefaultViewComponentActivator(
ITypeActivatorCache
typeActivatorCache)