From 5996ec2a5a6a4c9fd3d25878796dd4096557cdc4 Mon Sep 17 00:00:00 2001 From: Mike Phares Date: Wed, 28 Jun 2023 18:42:37 -0700 Subject: [PATCH] dotnet format --- Copy-Distinct/CopyDistinct.cs | 2 +- FaceRecognitionDotNet/Point.cs | 4 ++-- Property/Models/A_Property.cs | 2 +- Rename/Rename.cs | 2 +- Shared/Models/FacePoint.cs | 4 ++-- Shared/Models/Location.cs | 4 ++-- Shared/Models/MappingFromFilter.cs | 2 +- Shared/Models/MappingFromItem.cs | 2 +- Shared/Models/MappingFromLocation.cs | 2 +- Shared/Models/MappingFromPerson.cs | 2 +- Shared/Models/MappingFromPhotoPrism.cs | 2 +- Shared/Models/Properties/IMappingFromFilter.cs | 2 +- Shared/Models/Properties/IMappingFromItem.cs | 2 +- Shared/Models/Properties/IMappingFromLocation.cs | 2 +- Shared/Models/Properties/IMappingFromPerson.cs | 2 +- Shared/Models/Properties/IMappingFromPhotoPrism.cs | 2 +- Shared/Models/Stateless/Methods/Face.cs | 4 ++-- Shared/Models/Stateless/Methods/IFace.cs | 4 ++-- 18 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Copy-Distinct/CopyDistinct.cs b/Copy-Distinct/CopyDistinct.cs index 447a79d..521fb85 100644 --- a/Copy-Distinct/CopyDistinct.cs +++ b/Copy-Distinct/CopyDistinct.cs @@ -203,4 +203,4 @@ public class CopyDistinct return results; } -} +} \ No newline at end of file diff --git a/FaceRecognitionDotNet/Point.cs b/FaceRecognitionDotNet/Point.cs index b4206af..2942b7b 100644 --- a/FaceRecognitionDotNet/Point.cs +++ b/FaceRecognitionDotNet/Point.cs @@ -73,9 +73,9 @@ public readonly struct Point : IEquatable /// Returns the hash code for this . /// /// The hash code for this structure. - #pragma warning disable IDE0070 +#pragma warning disable IDE0070 public override int GetHashCode() - #pragma warning restore IDE0070 +#pragma warning restore IDE0070 { int hashCode = 1861411795; hashCode = hashCode * -1521134295 + X.GetHashCode(); diff --git a/Property/Models/A_Property.cs b/Property/Models/A_Property.cs index 932a8b4..9f287fb 100644 --- a/Property/Models/A_Property.cs +++ b/Property/Models/A_Property.cs @@ -517,4 +517,4 @@ public class A_Property return result; } -} +} \ No newline at end of file diff --git a/Rename/Rename.cs b/Rename/Rename.cs index 4c1426e..ff5aaa2 100644 --- a/Rename/Rename.cs +++ b/Rename/Rename.cs @@ -621,4 +621,4 @@ public class Rename RenameByDateTakenB(matchNginxCollection, aPropertySingletonDirectory, jsonFiles); } -} +} \ No newline at end of file diff --git a/Shared/Models/FacePoint.cs b/Shared/Models/FacePoint.cs index 5675946..a86e381 100644 --- a/Shared/Models/FacePoint.cs +++ b/Shared/Models/FacePoint.cs @@ -37,9 +37,9 @@ public class FacePoint : Properties.IFacePoint return result; } - #pragma warning disable IDE0070 +#pragma warning disable IDE0070 public override int GetHashCode() - #pragma warning restore IDE0070 +#pragma warning restore IDE0070 { int hashCode = 1861411795; hashCode = hashCode * -1521134295 + _Point.GetHashCode(); diff --git a/Shared/Models/Location.cs b/Shared/Models/Location.cs index d5698a4..83ce666 100644 --- a/Shared/Models/Location.cs +++ b/Shared/Models/Location.cs @@ -74,9 +74,9 @@ public class Location : Properties.ILocation, IEquatable return result; } - #pragma warning disable IDE0070 +#pragma warning disable IDE0070 public override int GetHashCode() - #pragma warning restore IDE0070 +#pragma warning restore IDE0070 { int hashCode = -773114317; hashCode = hashCode * -1521134295 + Bottom.GetHashCode(); diff --git a/Shared/Models/MappingFromFilter.cs b/Shared/Models/MappingFromFilter.cs index 97fa55b..2197ce6 100644 --- a/Shared/Models/MappingFromFilter.cs +++ b/Shared/Models/MappingFromFilter.cs @@ -26,4 +26,4 @@ public class MappingFromFilter : Properties.IMappingFromFilter return result; } -} +} \ No newline at end of file diff --git a/Shared/Models/MappingFromItem.cs b/Shared/Models/MappingFromItem.cs index 64fcb73..eece6ae 100644 --- a/Shared/Models/MappingFromItem.cs +++ b/Shared/Models/MappingFromItem.cs @@ -55,4 +55,4 @@ public class MappingFromItem : Properties.IMappingFromItem return result; } -} +} \ No newline at end of file diff --git a/Shared/Models/MappingFromLocation.cs b/Shared/Models/MappingFromLocation.cs index c1586a0..60f72df 100644 --- a/Shared/Models/MappingFromLocation.cs +++ b/Shared/Models/MappingFromLocation.cs @@ -30,4 +30,4 @@ public class MappingFromLocation : Properties.IMappingFromLocation return result; } -} +} \ No newline at end of file diff --git a/Shared/Models/MappingFromPerson.cs b/Shared/Models/MappingFromPerson.cs index 5afaa7b..c466a1c 100644 --- a/Shared/Models/MappingFromPerson.cs +++ b/Shared/Models/MappingFromPerson.cs @@ -26,4 +26,4 @@ public class MappingFromPerson : Properties.IMappingFromPerson return result; } -} +} \ No newline at end of file diff --git a/Shared/Models/MappingFromPhotoPrism.cs b/Shared/Models/MappingFromPhotoPrism.cs index 163ab7f..8ab4468 100644 --- a/Shared/Models/MappingFromPhotoPrism.cs +++ b/Shared/Models/MappingFromPhotoPrism.cs @@ -15,4 +15,4 @@ public class MappingFromPhotoPrism : Properties.IMappingFromPhotoPrism Markers = markers; } -} +} \ No newline at end of file diff --git a/Shared/Models/Properties/IMappingFromFilter.cs b/Shared/Models/Properties/IMappingFromFilter.cs index f010c4a..573b404 100644 --- a/Shared/Models/Properties/IMappingFromFilter.cs +++ b/Shared/Models/Properties/IMappingFromFilter.cs @@ -8,4 +8,4 @@ public interface IMappingFromFilter public bool? IsIgnoreRelativePath { init; get; } public bool? InSkipCollection { init; get; } -} +} \ No newline at end of file diff --git a/Shared/Models/Properties/IMappingFromItem.cs b/Shared/Models/Properties/IMappingFromItem.cs index 0851a14..cf109e1 100644 --- a/Shared/Models/Properties/IMappingFromItem.cs +++ b/Shared/Models/Properties/IMappingFromItem.cs @@ -14,4 +14,4 @@ public interface IMappingFromItem public string RelativePath { init; get; } public FileHolder ResizedFileHolder { init; get; } -} +} \ No newline at end of file diff --git a/Shared/Models/Properties/IMappingFromLocation.cs b/Shared/Models/Properties/IMappingFromLocation.cs index a1502ed..a7e8af7 100644 --- a/Shared/Models/Properties/IMappingFromLocation.cs +++ b/Shared/Models/Properties/IMappingFromLocation.cs @@ -10,4 +10,4 @@ public interface IMappingFromLocation public bool? EyeReview { init; get; } public int WholePercentages { init; get; } -} +} \ No newline at end of file diff --git a/Shared/Models/Properties/IMappingFromPerson.cs b/Shared/Models/Properties/IMappingFromPerson.cs index 83ca754..a3a3f06 100644 --- a/Shared/Models/Properties/IMappingFromPerson.cs +++ b/Shared/Models/Properties/IMappingFromPerson.cs @@ -8,4 +8,4 @@ public interface IMappingFromPerson public PersonBirthday PersonBirthday { init; get; } public string SegmentB { init; get; } -} +} \ No newline at end of file diff --git a/Shared/Models/Properties/IMappingFromPhotoPrism.cs b/Shared/Models/Properties/IMappingFromPhotoPrism.cs index 2e08e8a..958f79f 100644 --- a/Shared/Models/Properties/IMappingFromPhotoPrism.cs +++ b/Shared/Models/Properties/IMappingFromPhotoPrism.cs @@ -6,4 +6,4 @@ public interface IMappingFromPhotoPrism public DatabaseFile DatabaseFile { init; get; } public List Markers { init; get; } -} +} \ No newline at end of file diff --git a/Shared/Models/Stateless/Methods/Face.cs b/Shared/Models/Stateless/Methods/Face.cs index 11ecef4..149f669 100644 --- a/Shared/Models/Stateless/Methods/Face.cs +++ b/Shared/Models/Stateless/Methods/Face.cs @@ -130,11 +130,11 @@ internal abstract class Face return (review, result); } - internal static (bool, int[]) GetEyeCollection(int threshold, List faces) + internal static (bool, int[]) GetEyeCollection(int threshold, List faces) { bool result = false; List results = new(); - foreach (Shared.Models.Face face in faces) + foreach (Models.Face face in faces) { if (face.Mapping?.MappingFromLocation?.Eyeα is null || face.Mapping.MappingFromLocation.EyeReview is null) continue; diff --git a/Shared/Models/Stateless/Methods/IFace.cs b/Shared/Models/Stateless/Methods/IFace.cs index 01d84a8..16f1740 100644 --- a/Shared/Models/Stateless/Methods/IFace.cs +++ b/Shared/Models/Stateless/Methods/IFace.cs @@ -28,9 +28,9 @@ public interface IFace static (bool?, double?) GetEyeα(Dictionary faceParts) => Face.GetEyeα(faceParts); - (bool, int[]) TestStatic_GetEyeCollection(int threshold, List faces) => + (bool, int[]) TestStatic_GetEyeCollection(int threshold, List faces) => GetEyeCollection(threshold, faces); - static (bool, int[]) GetEyeCollection(int threshold, List faces) => + static (bool, int[]) GetEyeCollection(int threshold, List faces) => Face.GetEyeCollection(threshold, faces); } \ No newline at end of file