<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0-preview.4.25258.110" />

ObjectFactory<T>

public sealed delegate ObjectFactory<T> : MulticastDelegate
Returns the result of CreateFactory<T>, which is a delegate that specifies a factory method to call to instantiate an instance of type T.
public ObjectFactory(object object, IntPtr method)

public virtual IAsyncResult BeginInvoke(IServiceProvider serviceProvider, object[] arguments, AsyncCallback callback, object object)

public virtual T EndInvoke(IAsyncResult result)

public virtual T Invoke(IServiceProvider serviceProvider, object[] arguments)