SegmentB, personKey,
personKeyFormatted and Sorting
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user