16 references to CreateFactory
Microsoft.AspNetCore.Components (1)
DefaultComponentActivator.cs (1)
36factory = ActivatorUtilities.CreateFactory(componentType, Type.EmptyTypes);
Microsoft.AspNetCore.Mvc.Core (6)
Controllers\ControllerActivatorProvider.cs (1)
58var typeActivator = ActivatorUtilities.CreateFactory(controllerType, Type.EmptyTypes);
Infrastructure\ITypeActivatorCache.cs (1)
10/// <see cref="Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(Type, Type[])"/>.
Infrastructure\TypeActivatorCache.cs (2)
11/// <see cref="ActivatorUtilities.CreateFactory(Type, Type[])"/>. 16(type) => ActivatorUtilities.CreateFactory(type, Type.EmptyTypes);
ModelBinding\Binders\BinderTypeModelBinder.cs (1)
36_factory = ActivatorUtilities.CreateFactory(binderType, Type.EmptyTypes);
TypeFilterAttribute.cs (1)
67_factory = ActivatorUtilities.CreateFactory(ImplementationType, argumentTypes ?? Type.EmptyTypes);
Microsoft.AspNetCore.Mvc.Razor (1)
Infrastructure\DefaultTagHelperActivator.cs (1)
26private static readonly ObjectFactory _objectFactory = ActivatorUtilities.CreateFactory(typeof(TTagHelper), Type.EmptyTypes);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DefaultPageModelActivatorProvider.cs (1)
32var factory = ActivatorUtilities.CreateFactory(modelTypeInfo, Type.EmptyTypes);
Microsoft.AspNetCore.Routing (2)
Builder\EndpointFilterExtensions.cs (2)
41filterFactory = ActivatorUtilities.CreateFactory(typeof(TFilterType), new[] { typeof(EndpointFilterFactoryContext) }); 45filterFactory = ActivatorUtilities.CreateFactory(typeof(TFilterType), Type.EmptyTypes);
Microsoft.AspNetCore.SignalR.Core (2)
Internal\DefaultHubActivator.cs (1)
13private static readonly Lazy<ObjectFactory> _objectFactory = new Lazy<ObjectFactory>(() => ActivatorUtilities.CreateFactory(typeof(THub), Type.EmptyTypes));
Internal\HubFilterFactory.cs (1)
18_objectFactory = ActivatorUtilities.CreateFactory(filterType, Array.Empty<Type>());
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ObjectFactory.cs (1)
9/// The result of <see cref="ActivatorUtilities.CreateFactory(Type, Type[])"/>.
Microsoft.Extensions.Http (1)
DefaultTypedHttpClientFactory.cs (1)
42return ActivatorUtilities.CreateFactory(typeof(TClient), new Type[] { typeof(HttpClient), });
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
DependencyInjectionPooledObjectPolicy.cs (1)
21_factory = ActivatorUtilities.CreateFactory(typeof(TImplementation), Type.EmptyTypes);