ObjectFactory<T>
Returns the result of CreateFactory<T>, which is a delegate that specifies 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);
}