Removed Rectangle from LocationContainer
mapped-ids-then-whole-percentages-to-location-container save-extract-faces
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
using System.Drawing;
|
||||
|
||||
namespace View_by_Distance.Shared.Models;
|
||||
|
||||
public record LocationContainer(DateOnly? CreationDateOnly,
|
||||
@ -10,22 +8,20 @@ public record LocationContainer(DateOnly? CreationDateOnly,
|
||||
int? LengthPermyriad,
|
||||
FilePath? LengthSource,
|
||||
PersonKeyFormattedAndKeyTicksAndDisplayDirectoryName? PersonKeyFormattedAndKeyTicksAndDisplayDirectoryName,
|
||||
RectangleF? Rectangle,
|
||||
int? WholePercentages)
|
||||
{
|
||||
|
||||
public static LocationContainer Get(LocationContainer locationContainer, object? encoding, bool keepExifDirectory)
|
||||
public static LocationContainer Get(LocationContainer locationContainer, object? encoding)
|
||||
{
|
||||
LocationContainer result;
|
||||
result = new(CreationDateOnly: locationContainer.CreationDateOnly,
|
||||
ExifDirectory: keepExifDirectory ? locationContainer.ExifDirectory : null,
|
||||
ExifDirectory: locationContainer.ExifDirectory,
|
||||
Encoding: encoding,
|
||||
FaceFile: locationContainer.FaceFile,
|
||||
FilePath: locationContainer.FilePath,
|
||||
LengthPermyriad: locationContainer.LengthPermyriad,
|
||||
LengthSource: locationContainer.LengthSource,
|
||||
PersonKeyFormattedAndKeyTicksAndDisplayDirectoryName: locationContainer.PersonKeyFormattedAndKeyTicksAndDisplayDirectoryName,
|
||||
Rectangle: locationContainer.Rectangle,
|
||||
WholePercentages: locationContainer.WholePercentages);
|
||||
return result;
|
||||
}
|
||||
@ -41,7 +37,6 @@ public record LocationContainer(DateOnly? CreationDateOnly,
|
||||
LengthPermyriad: lengthPermyriad,
|
||||
LengthSource: source.FilePath,
|
||||
PersonKeyFormattedAndKeyTicksAndDisplayDirectoryName: locationContainer.PersonKeyFormattedAndKeyTicksAndDisplayDirectoryName,
|
||||
Rectangle: locationContainer.Rectangle,
|
||||
WholePercentages: locationContainer.WholePercentages);
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user