Error - Don't keep
This commit is contained in:
Drag-Drop
Face/Models
Instance
Map/Models
Shared/Models
@ -11,21 +11,19 @@ public record class Sorting : Properties.ISorting
|
||||
public int Id { init; get; }
|
||||
public int NormalizedRectangle { init; get; }
|
||||
public bool Older { init; get; }
|
||||
public int WithinRange { init; get; }
|
||||
|
||||
[JsonConstructor]
|
||||
public Sorting(int daysDelta, int distancePermyriad, int id, int normalizedRectangle, bool older, int withinRange)
|
||||
public Sorting(int daysDelta, int distancePermyriad, int id, int normalizedRectangle, bool older)
|
||||
{
|
||||
DaysDelta = daysDelta;
|
||||
DistancePermyriad = distancePermyriad;
|
||||
Id = id;
|
||||
NormalizedRectangle = normalizedRectangle;
|
||||
Older = older;
|
||||
WithinRange = withinRange;
|
||||
}
|
||||
|
||||
public Sorting(Mapping mapping) :
|
||||
this(0, 0, mapping.MappingFromItem.Id, mapping.MappingFromLocation.NormalizedRectangle, false, 0)
|
||||
this(0, 0, mapping.MappingFromItem.Id, mapping.MappingFromLocation.NormalizedRectangle, false)
|
||||
{ }
|
||||
|
||||
public override string ToString()
|
||||
|
Reference in New Issue
Block a user