protected override object VisitFactoryService(FactoryService factoryService, ServiceProvider provider) { return(factoryService.Descriptor.ImplementationFactory(provider)); }
protected abstract TResult VisitFactoryService(FactoryService factoryService, TArgument argument);
protected override Type VisitFactoryService(FactoryService factoryService, CallSiteValidatorState state) => null;
protected override Expression VisitFactoryService(FactoryService factoryService, ParameterExpression provider) { return(Expression.Invoke(Expression.Constant(factoryService.Descriptor.ImplementationFactory), provider)); }