| | 1 | | using System.Diagnostics.CodeAnalysis; |
| | 2 | |
|
| | 3 | | namespace Plainquire.Sort.JsonConverters; |
| | 4 | |
|
| | 5 | | [SuppressMessage("ReSharper", "AutoPropertyCanBeMadeGetOnly.Global", Justification = "Required by serializers")] |
| | 6 | | internal class PropertySortConverterData |
| | 7 | | { |
| | 8 | | public string PropertyPath { get; set; } |
| | 9 | | public SortDirection Direction { get; set; } |
| | 10 | | public int Position { get; set; } |
| | 11 | |
|
| | 12 | | public PropertySortConverterData(string propertyPath, SortDirection direction, int position) |
| | 13 | | { |
| 486 | 14 | | PropertyPath = propertyPath; |
| 486 | 15 | | Direction = direction; |
| 486 | 16 | | Position = position; |
| 486 | 17 | | } |
| | 18 | | } |