Class Sort<TField>
OptimaJet.Workflow.Api.Models.Sort<TField>
A collection sorting rule identifying a field and its direction.
Namespace: OptimaJet.Workflow.Api.Models
public class Sort<TField> where TField : EnumConstructors
public Sort(TField field, Direction direction) #Parameters
Name
Type
Description
field{TField}directionDirectionProperties
[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(JsonStringEnumConverter))] public TField Field { get; } #Gets the field value.
[JsonConverter(typeof(StringEnumConverter))] [JsonConverter(typeof(JsonStringEnumConverter))] public Direction Direction { get; } #Gets the direction value.
Methods
public static bool TryParse(string? value, out Sort<TField>? sort) #Parameters
Name
Type
Description
valueStringsortSort<TField>Returns
Type
Description
Boolean