Use file scoped namepace
This commit is contained in:
@@ -2,19 +2,18 @@
|
||||
using GerstITS.Mapping.AutoMapper;
|
||||
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 RegisterExample(IServiceCollection container)
|
||||
{
|
||||
#region Methods
|
||||
container.RegisterMappingsOf<IExampleProvider>();
|
||||
|
||||
private static void RegisterExample(IServiceCollection container)
|
||||
{
|
||||
container.RegisterMappingsOf<IExampleProvider>();
|
||||
container.AddScoped<IExampleProvider, ExampleProvider>();
|
||||
}
|
||||
|
||||
container.AddScoped<IExampleProvider, ExampleProvider>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user