Microsoft.Extensions.DependencyInjection.IServiceScopeFactory
Creates instances of IServiceScope, which is used to create
services within a scope.
namespace Microsoft.Extensions.DependencyInjection
{
public interface IServiceScopeFactory
{
IServiceScope CreateScope();
}
}