mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 09:11:10 +00:00
eliminates region sections
This commit is contained in:
1 parent
705c02b90d
commit
405fc1ff9a
370 files changed
+47
-1618
No files matched your search
-2
@@ -10,7 +10,6 @@ namespace Lumina.Presentation.Web.Common.DependencyInjection;
|
||||
/// </summary>
|
||||
internal static class PresentationWebLayerConfiguration
|
||||
{
|
||||
#region ===================================================================== METHODS ===================================================================================
|
||||
/// <summary>
|
||||
/// Extension method for registering the configuration options of the Lumina.Presentation.Web project into the Dependency Injection container.
|
||||
/// </summary>
|
||||
@@ -29,6 +28,5 @@ internal static class PresentationWebLayerConfiguration
|
||||
.ValidateOnStart();
|
||||
return serviceCollection;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ using Lumina.Presentation.Web.Common.Api;
|
||||
using Lumina.Presentation.Web.Common.Exceptions;
|
||||
using Lumina.Presentation.Web.Common.Filters;
|
||||
using Lumina.Presentation.Web.Common.Services;
|
||||
using Lumina.Presentation.Web.Core.Services.UI;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Polly;
|
||||
using Polly.CircuitBreaker;
|
||||
@@ -23,7 +22,6 @@ namespace Lumina.Presentation.Web.Common.DependencyInjection;
|
||||
/// </summary>
|
||||
public static class PresentationWebLayerServices
|
||||
{
|
||||
#region ===================================================================== METHODS ===================================================================================
|
||||
/// <summary>
|
||||
/// Registers the services of the Presentation Web layer into the dependency injection container.
|
||||
/// </summary>
|
||||
@@ -64,11 +62,9 @@ public static class PresentationWebLayerServices
|
||||
.AddPolicyHandler(retryPolicy)
|
||||
.AddPolicyHandler(circuitBreakerPolicy);
|
||||
|
||||
services.AddSingleton<ComboboxService>();
|
||||
services.AddScoped<INotificationService, NotificationService>();
|
||||
services.AddScoped<ApiExceptionFilter>();
|
||||
|
||||
return services;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
Reference in new issue
Block a user