Remove ThumbHasher from Property

This commit is contained in:
2023-05-22 20:36:02 -07:00
parent a0c880c7ba
commit 82143850ac
7 changed files with 26 additions and 90 deletions

View File

@ -16,7 +16,6 @@ public interface IProperty
public string? Make { init; get; }
public string? Model { init; get; }
public string? Orientation { init; get; }
public byte[]? ThumbHashBytes { init; get; }
public int? Width { init; get; }
}

View File

@ -19,11 +19,10 @@ public class Property : Properties.IProperty
public string? Make { init; get; }
public string? Model { init; get; }
public string? Orientation { init; get; }
public byte[]? ThumbHashBytes { init; get; }
public int? Width { init; get; }
[JsonConstructor]
public Property(DateTime creationTime, DateTime? dateTime, DateTime? dateTimeDigitized, DateTime? dateTimeFromName, DateTime? dateTimeOriginal, long fileSize, DateTime? gpsDateStamp, int? height, int? id, DateTime lastWriteTime, string? make, string? model, string? orientation, byte[]? thumbHashBytes, int? width)
public Property(DateTime creationTime, DateTime? dateTime, DateTime? dateTimeDigitized, DateTime? dateTimeFromName, DateTime? dateTimeOriginal, long fileSize, DateTime? gpsDateStamp, int? height, int? id, DateTime lastWriteTime, string? make, string? model, string? orientation, int? width)
{
DateTimeFromName = dateTimeFromName;
CreationTime = creationTime;
@ -38,7 +37,6 @@ public class Property : Properties.IProperty
Make = make;
Model = model;
Orientation = orientation;
ThumbHashBytes = thumbHashBytes;
Width = width;
}