mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-23 05:52:45 +01:00
21 lines
721 B
C#
21 lines
721 B
C#
|
using Microsoft.Extensions.Options;
|
|||
|
using Sieve.Models;
|
|||
|
using Sieve.Services;
|
|||
|
|
|||
|
namespace SieveUnitTests.Services
|
|||
|
{
|
|||
|
public class ModularConfigurationWithScanSieveProcessor : SieveProcessor
|
|||
|
{
|
|||
|
public ModularConfigurationWithScanSieveProcessor(
|
|||
|
IOptions<SieveOptions> options,
|
|||
|
ISieveCustomSortMethods customSortMethods,
|
|||
|
ISieveCustomFilterMethods customFilterMethods)
|
|||
|
: base(options, customSortMethods, customFilterMethods)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
protected override SievePropertyMapper MapProperties(SievePropertyMapper mapper) =>
|
|||
|
mapper.ApplyConfigurationsFromAssembly(typeof(ModularConfigurationWithScanSieveProcessor).Assembly);
|
|||
|
}
|
|||
|
}
|