new ordering system added
This commit is contained in:
9
WatchIt.Common/WatchIt.Common.Query/IQueryOrderable.cs
Normal file
9
WatchIt.Common/WatchIt.Common.Query/IQueryOrderable.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WatchIt.Common.Query;
|
||||
|
||||
public interface IQueryOrderable<T>
|
||||
{
|
||||
[JsonIgnore]
|
||||
public static abstract IDictionary<string, Func<T, IComparable>> OrderableProperties { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user