SegmentB, personKey,

personKeyFormatted and Sorting
This commit is contained in:
2022-09-01 01:18:08 -07:00
parent d4c950e8e3
commit 73de1070b8
17 changed files with 847 additions and 573 deletions

View File

@ -12,15 +12,17 @@ public class Mapping : Properties.IMapping
protected bool _Forced;
protected readonly int? _NormalizedPixelPercentage;
protected PersonBirthday _PersonBirthday;
protected readonly string _SegmentB;
public int? ApproximateYears => _ApproximateYears;
public string DisplayDirectoryName => _DisplayDirectoryName;
public bool? Filtered => _Filtered;
public bool Forced => _Forced;
public int? NormalizedPixelPercentage => _NormalizedPixelPercentage;
public PersonBirthday PersonBirthday => _PersonBirthday;
public string SegmentB => _SegmentB;
[JsonConstructor]
public Mapping(int? approximateYears, string displayDirectoryName, bool? filtered, bool forced, int? normalizedPixelPercentage, PersonBirthday personBirthday)
public Mapping(int? approximateYears, string displayDirectoryName, bool? filtered, bool forced, int? normalizedPixelPercentage, PersonBirthday personBirthday, string segmentB)
{
_ApproximateYears = approximateYears;
_DisplayDirectoryName = displayDirectoryName;
@ -28,14 +30,15 @@ public class Mapping : Properties.IMapping
_Forced = forced;
_NormalizedPixelPercentage = normalizedPixelPercentage;
_PersonBirthday = personBirthday;
_SegmentB = segmentB;
}
public Mapping(int? approximateYears, string displayDirectoryName, bool forced, int? normalizedPixelPercentage, PersonBirthday personBirthday) :
this(approximateYears, displayDirectoryName, null, forced, normalizedPixelPercentage, personBirthday)
public Mapping(int? approximateYears, string displayDirectoryName, bool forced, int? normalizedPixelPercentage, PersonBirthday personBirthday, string segmentB) :
this(approximateYears, displayDirectoryName, null, forced, normalizedPixelPercentage, personBirthday, segmentB)
{ }
public Mapping(int? approximateYears, string displayDirectoryName, bool forced, PersonBirthday personBirthday) :
this(approximateYears, displayDirectoryName, null, forced, null, personBirthday)
public Mapping(int? approximateYears, string displayDirectoryName, bool forced, PersonBirthday personBirthday, string segmentB) :
this(approximateYears, displayDirectoryName, null, forced, null, personBirthday, segmentB)
{ }
public override string ToString()