2 writes to Factory
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\FactoryCallSite.cs (2)
14
Factory
= factory;
20
Factory
= sp => factory(sp, serviceKey);
4 references to Factory
Microsoft.Extensions.DependencyInjection (4)
CallSiteJsonFormatter.cs (1)
106
argument.WriteProperty("method", factoryCallSite.
Factory
.Method);
ServiceLookup\CallSiteRuntimeResolver.cs (1)
188
return factoryCallSite.
Factory
(context.Scope);
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (1)
113
return Expression.Invoke(Expression.Constant(factoryCallSite.
Factory
), ScopeParameter);
ServiceLookup\ILEmit\ILEmitResolverBuilder.cs (1)
260
argument.Factories.Add(factoryCallSite.
Factory
);