public static ISortConventionDescriptor UseMock( this ISortConventionDescriptor descriptor) { return(descriptor.AddDefaults().Provider( new QueryableSortProvider(x => x .AddDefaultFieldHandlers() .AddOperationHandler <MatchAnyQueryableOperationHandler>() .AddFieldHandler <MatchAnyQueryableFieldHandler>()))); }
protected override void Configure(ISortConventionDescriptor descriptor) { descriptor.AddDefaults(); descriptor.Operation(DefaultSortOperations.Ascending).Name("Different"); }