dotnet-dynamic-query/PoweredSoft.DynamicQuery/Sort.cs

30 lines
529 B
C#
Raw Normal View History

2018-10-17 22:14:21 -04:00
using System;
using System.Collections.Generic;
using System.Text;
using PoweredSoft.DynamicQuery.Core;
namespace PoweredSoft.DynamicQuery
{
public class Sort : ISort
{
public string Path { get; set; }
public bool? Ascending { get; set; }
2018-10-21 15:46:33 -04:00
public Sort()
{
}
public Sort(string path)
{
Path = path;
}
public Sort(string path, bool? ascending)
{
Path = path;
Ascending = ascending;
}
2018-10-17 22:14:21 -04:00
}
}