dotnet format

This commit is contained in:
Mike Phares 2023-06-28 18:42:37 -07:00
parent 34a02fd8bd
commit 5996ec2a5a
18 changed files with 23 additions and 23 deletions

View File

@ -130,11 +130,11 @@ internal abstract class Face
return (review, result); return (review, result);
} }
internal static (bool, int[]) GetEyeCollection(int threshold, List<Shared.Models.Face> faces) internal static (bool, int[]) GetEyeCollection(int threshold, List<Models.Face> faces)
{ {
bool result = false; bool result = false;
List<int> results = new(); List<int> 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) if (face.Mapping?.MappingFromLocation?.Eyeα is null || face.Mapping.MappingFromLocation.EyeReview is null)
continue; continue;

View File

@ -28,9 +28,9 @@ public interface IFace
static (bool?, double?) GetEyeα(Dictionary<FacePart, Models.FacePoint[]> faceParts) => static (bool?, double?) GetEyeα(Dictionary<FacePart, Models.FacePoint[]> faceParts) =>
Face.GetEyeα(faceParts); Face.GetEyeα(faceParts);
(bool, int[]) TestStatic_GetEyeCollection(int threshold, List<Shared.Models.Face> faces) => (bool, int[]) TestStatic_GetEyeCollection(int threshold, List<Models.Face> faces) =>
GetEyeCollection(threshold, faces); GetEyeCollection(threshold, faces);
static (bool, int[]) GetEyeCollection(int threshold, List<Shared.Models.Face> faces) => static (bool, int[]) GetEyeCollection(int threshold, List<Models.Face> faces) =>
Face.GetEyeCollection(threshold, faces); Face.GetEyeCollection(threshold, faces);
} }