Initial commit
This commit is contained in:
22
GerstITS.Examples.Logic/Module.Shared.cs
Normal file
22
GerstITS.Examples.Logic/Module.Shared.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using GerstITS.Examples.Logic.Shared.Search.Sorting;
|
||||
using GerstITS.Examples.Logic.Shared.Validation;
|
||||
using GerstITS.Search;
|
||||
using GerstITS.Validation;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace GerstITS.Examples.Logic
|
||||
{
|
||||
public sealed partial class Module
|
||||
{
|
||||
#region Methods
|
||||
|
||||
private static void RegisterShared(IServiceCollection container)
|
||||
{
|
||||
container.RegisterValidationRulesOf<IdValidationRule>();
|
||||
|
||||
container.AddScoped<ISortingProvider, SortingProvider>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user