IServiceScope public interface IServiceScope : IDisposable Defines a disposable service scope. Documentation Code IServiceProvider ServiceProvider { get; } Gets the IServiceProvider used to resolve dependencies from the scope.