<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.0-rc.1.24431.7" />

ObjectFactory<T>

public sealed delegate ObjectFactory<T> : MulticastDelegate
The result of CreateFactory<T>. A delegate to specify a factory method to call to instantiate an instance of type `T`
using System; using System.Runtime.CompilerServices; namespace Microsoft.Extensions.DependencyInjection { public delegate T ObjectFactory<[System.Runtime.CompilerServices.Nullable(2)] T> (IServiceProvider serviceProvider, [System.Runtime.CompilerServices.Nullable(2)] object[] arguments); }