2 instantiations of FactoryCallSite
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\CallSiteFactory.cs (2)
388callSite = new FactoryCallSite(lifetime, descriptor.ServiceType, descriptor.ImplementationFactory); 392callSite = new FactoryCallSite(lifetime, descriptor.ServiceType, serviceIdentifier.ServiceKey!, descriptor.KeyedImplementationFactory);
7 references to FactoryCallSite
Microsoft.Extensions.DependencyInjection (7)
CallSiteJsonFormatter.cs (1)
104protected override object? VisitFactory(FactoryCallSite factoryCallSite, CallSiteFormatterContext argument)
ServiceLookup\CallSiteRuntimeResolver.cs (1)
186protected override object VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
ServiceLookup\CallSiteValidator.cs (1)
112protected override Type? VisitFactory(FactoryCallSite factoryCallSite, CallSiteValidatorState state) => null;
ServiceLookup\CallSiteVisitor.cs (2)
44return VisitFactory((FactoryCallSite)callSite, argument); 86protected abstract TResult VisitFactory(FactoryCallSite factoryCallSite, TArgument argument);
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (1)
111protected override Expression VisitFactory(FactoryCallSite factoryCallSite, object? context)
ServiceLookup\ILEmit\ILEmitResolverBuilder.cs (1)
246protected override object? VisitFactory(FactoryCallSite factoryCallSite, ILEmitResolverBuilderContext argument)