22 lines
572 B
C#
22 lines
572 B
C#
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
|
|
}
|
|
} |