22 references to ImplementationType
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
566{ ImplementationType: { } type } => ServiceDescriptor.KeyedSingleton(typeof(IHost), this, type),
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
24&& sd.ImplementationType == typeof(ResourceLoggerForwarderService)
Microsoft.AspNetCore (1)
BootstrapHostBuilder.cs (1)
111Debug.Assert(descriptor.ImplementationType?.Name == "GenericWebHostService");
Microsoft.AspNetCore.Mvc.RazorPages (1)
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (1)
96f.ImplementationType == typeof(PageActionDescriptorProvider));
Microsoft.DotNet.Internal.DependencyInjection.Testing (3)
DependencyInjectionValidation.cs (3)
52if (service.ImplementationType == null) 57if (IsExemptType(service.ImplementationType) || IsExemptType(service.ServiceType)) 62if (!IsTypeResolvable(service.ImplementationType, services, allErrors, service.Lifetime))
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\ServiceDescriptorExtensions.cs (1)
36: serviceDescriptor.ImplementationType;
Microsoft.Extensions.DependencyInjection.Abstractions (8)
ServiceDescriptor.cs (8)
170/// If <see cref="IsKeyedService"/> is <see langword="false"/>, <see cref="ImplementationType"/> should be called instead. 284if (ImplementationType != null) 286return lifetime + $"{nameof(ImplementationType)}: {ImplementationType}"; 312if (ImplementationType != null) 314return ImplementationType; 1060if (ImplementationType != null) 1062debugText += $@", ImplementationType = ""{ImplementationType.FullName}""";
Microsoft.Maui (6)
Hosting\Internal\MauiFactory.cs (3)
52 if (item.ImplementationType != null) 54 return Activator.CreateInstance(item.ImplementationType); 63 throw new InvalidOperationException($"You need to provide an {nameof(item.ImplementationType)}, an {nameof(item.ImplementationFactory)} or an {nameof(item.ImplementationInstance)}.");
Hosting\Internal\MauiHandlersFactory.cs (1)
33 return serviceDescriptor?.ImplementationType;
HotReload\HotReloadHelper.cs (2)
167 var views = HandlerService!.Where(x => x.ImplementationType == t).Select(x => new KeyValuePair<Type, Type>(x.ServiceType, x.ImplementationType!)).ToList();