Removed nullable

This commit is contained in:
TheXamlGuy
2024-09-29 17:05:47 +01:00
parent c3285f30c7
commit 39f4e28f29
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ public class ScopeServiceFactory<TService>(IServiceScopeFactory serviceScopeFact
IScopeServiceFactory<TService>
where TService : notnull
{
public (IServiceScope, TService)? Create(params object?[] parameters)
public (IServiceScope, TService) Create(params object?[] parameters)
{
if (serviceScopeFactory.CreateScope() is IServiceScope serviceScope)
{