31 lines
731 B
C#
31 lines
731 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace gehGassiApp.Domain.Common
|
|
{
|
|
/// <summary>
|
|
/// Hilfsklasse für dynamische Sortierung
|
|
/// </summary>
|
|
public class DynamicSortOrder
|
|
{
|
|
/// <summary>
|
|
/// Name der Eigenschaft z.B. UpdateAd oder ID oder StartDate usw.
|
|
/// </summary>
|
|
public string Property { get; set; }
|
|
|
|
/// <summary>
|
|
/// Sortierrichtung
|
|
/// </summary>
|
|
public SortDirection SortDirection { get; set; }
|
|
|
|
public DynamicSortOrder()
|
|
{
|
|
Property = string.Empty;
|
|
SortDirection = SortDirection.Ascending;
|
|
}
|
|
}
|
|
}
|