From c3285f30c720213ba4504effeeb0ac6c6a5decaf Mon Sep 17 00:00:00 2001 From: TheXamlGuy Date: Sun, 29 Sep 2024 16:42:02 +0100 Subject: [PATCH] Rename IScopeServiceFactory --- Toolkit.Foundation/IServiceScopeFactory.cs | 2 +- Toolkit.Foundation/ScopeServiceFactory.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Toolkit.Foundation/IServiceScopeFactory.cs b/Toolkit.Foundation/IServiceScopeFactory.cs index 57ea4b2..0c8b45f 100644 --- a/Toolkit.Foundation/IServiceScopeFactory.cs +++ b/Toolkit.Foundation/IServiceScopeFactory.cs @@ -2,7 +2,7 @@ namespace Toolkit.Foundation; -public interface IServiceScopeFactory +public interface IScopeServiceFactory { (IServiceScope, TService)? Create(params object?[] parameters); } \ No newline at end of file diff --git a/Toolkit.Foundation/ScopeServiceFactory.cs b/Toolkit.Foundation/ScopeServiceFactory.cs index fd73932..d5a955a 100644 --- a/Toolkit.Foundation/ScopeServiceFactory.cs +++ b/Toolkit.Foundation/ScopeServiceFactory.cs @@ -4,7 +4,7 @@ namespace Toolkit.Foundation; public class ScopeServiceFactory(IServiceScopeFactory serviceScopeFactory, ICache cache) : - IServiceScopeFactory + IScopeServiceFactory where TService : notnull { public (IServiceScope, TService)? Create(params object?[] parameters)