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<[Nullable(2)] out T> (IServiceProvider serviceProvider, [Nullable(2)] object[] arguments);
}