Improve scoped service
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public interface IScopedServiceFactory<TService>
|
||||
{
|
||||
(IServiceScope, TService) Create(params object?[] parameters);
|
||||
}
|
||||
Reference in New Issue
Block a user