using Microsoft.Extensions.Options; using Sieve.Models; using Sieve.Services; using SieveTests.Entities; namespace SieveTests.Services { public class ApplicationSieveProcessor : SieveProcessor { public ApplicationSieveProcessor(IOptions options, ISieveCustomSortMethods customSortMethods, ISieveCustomFilterMethods customFilterMethods) : base(options, customSortMethods, customFilterMethods) { } protected override SievePropertyMapper MapProperties(SievePropertyMapper mapper) { mapper.Property(p => p.Title) .CanSort() .CanFilter() .HasName("CustomTitleName"); return mapper; } } }