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