Use file scoped namepace
This commit is contained in:
@@ -4,19 +4,18 @@ using GerstITS.Search;
|
||||
using GerstITS.Validation;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace GerstITS.Examples.Logic
|
||||
namespace GerstITS.Examples.Logic;
|
||||
|
||||
public sealed partial class Module
|
||||
{
|
||||
public sealed partial class Module
|
||||
#region Methods
|
||||
|
||||
private static void RegisterShared(IServiceCollection container)
|
||||
{
|
||||
#region Methods
|
||||
container.RegisterValidationRulesOf<IdValidationRule>();
|
||||
|
||||
private static void RegisterShared(IServiceCollection container)
|
||||
{
|
||||
container.RegisterValidationRulesOf<IdValidationRule>();
|
||||
container.AddScoped<ISortingProvider, SortingProvider>();
|
||||
}
|
||||
|
||||
container.AddScoped<ISortingProvider, SortingProvider>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user