Init
This commit is contained in:
0
Shared/Models/Properties/I%ClassName%.cs .ai
Normal file
0
Shared/Models/Properties/I%ClassName%.cs .ai
Normal file
6
Shared/Models/Properties/IBackground.cs
Normal file
6
Shared/Models/Properties/IBackground.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IBackground
|
||||
{
|
||||
|
||||
}
|
10
Shared/Models/Properties/IBackgroundPage.cs
Normal file
10
Shared/Models/Properties/IBackgroundPage.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IBackgroundPage
|
||||
{
|
||||
|
||||
public List<Exception> Exceptions { get; }
|
||||
public string Message { get; }
|
||||
public string WorkingDirectory { get; }
|
||||
|
||||
}
|
45
Shared/Models/Properties/IConfiguration.cs
Normal file
45
Shared/Models/Properties/IConfiguration.cs
Normal file
@ -0,0 +1,45 @@
|
||||
// using View_by_Distance.Shared.Models.Methods;
|
||||
|
||||
// namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
// public interface IConfiguration
|
||||
// {
|
||||
|
||||
// public bool? checkJsonForDistanceResults;
|
||||
// public bool? loadOrCreateThenSaveDistanceResults;
|
||||
// public bool? loadOrCreateThenSaveImageFacesResults;
|
||||
// public bool? loadOrCreateThenSaveIndex;
|
||||
// public bool? overrideForFaceImages;
|
||||
// public bool? overrideForFaceLandmarkImages;
|
||||
// public bool? overrideForResizeImages;
|
||||
// public bool? propertiesChangedForDistance;
|
||||
// public bool? propertiesChangedForFaces;
|
||||
// public bool? propertiesChangedForIndex;
|
||||
// public bool? propertiesChangedForMetadata;
|
||||
// public bool? propertiesChangedForProperty;
|
||||
// public bool? propertiesChangedForResize;
|
||||
// public bool? reverse;
|
||||
// public bool? saveFullYearOfRandomFiles;
|
||||
// public bool? testDistanceResults;
|
||||
// public int? distanceFactor;
|
||||
// public int? locationConfidenceFactor;
|
||||
// public int? mappedMaxIndex;
|
||||
// public int? maxImagesInDirectoryForTopLevelFirstPass;
|
||||
// public int? maxItemsInDistanceCollection;
|
||||
// public int? numJitters;
|
||||
// public int? outputQuality;
|
||||
// public int? paddingLoops;
|
||||
// public string dateGroup;
|
||||
// public string modelDirectory;
|
||||
// public string modelName;
|
||||
// public string outputExtension;
|
||||
// public string predictorModelName;
|
||||
// public string rootDirectory;
|
||||
// public string[] ignoreExtensions;
|
||||
// public string[] ignoreRelativePaths;
|
||||
// public string[] mixedYearRelativePaths;
|
||||
// public string[] outputResolutions;
|
||||
// public string[] saveFaceLandmarkForOutputResolutions;
|
||||
// public string[] validResolutions;
|
||||
|
||||
// }
|
6
Shared/Models/Properties/IConsole.cs
Normal file
6
Shared/Models/Properties/IConsole.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IConsole
|
||||
{
|
||||
|
||||
}
|
12
Shared/Models/Properties/IDirectoryFileSystem.cs
Normal file
12
Shared/Models/Properties/IDirectoryFileSystem.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IDirectoryFileSystem
|
||||
{
|
||||
|
||||
// protected new string ClassName { get; }
|
||||
// protected new string DataDisplayFileName { get; }
|
||||
// protected new string DataFullFileName { get; }
|
||||
// protected new string Display { get; }
|
||||
// protected new DateTime LastModified { get; }
|
||||
|
||||
}
|
18
Shared/Models/Properties/IFace.cs
Normal file
18
Shared/Models/Properties/IFace.cs
Normal file
@ -0,0 +1,18 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IFace
|
||||
{
|
||||
|
||||
#pragma warning disable IDE1006
|
||||
public double? α { get; }
|
||||
#pragma warning restore IDE1006
|
||||
public DateTime DateTime { get; }
|
||||
public Models.FaceEncoding FaceEncoding { get; }
|
||||
public Dictionary<string, Models.FacePoint[]> FaceLandmarks { get; }
|
||||
public Models.Location Location { get; }
|
||||
public int? LocationIndex { get; }
|
||||
public Models.OutputResolution OutputResolution { get; }
|
||||
public bool Populated { get; }
|
||||
public string RelativePath { get; }
|
||||
|
||||
}
|
9
Shared/Models/Properties/IFaceEncoding.cs
Normal file
9
Shared/Models/Properties/IFaceEncoding.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IFaceEncoding
|
||||
{
|
||||
|
||||
public double[] RawEncoding { get; }
|
||||
public int Size { get; }
|
||||
|
||||
}
|
30
Shared/Models/Properties/IFaceFileSystem.cs
Normal file
30
Shared/Models/Properties/IFaceFileSystem.cs
Normal file
@ -0,0 +1,30 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IFaceFileSystem // : IFaceFileSystem
|
||||
{
|
||||
|
||||
// protected new string ClassName { get; }
|
||||
public string Confidence { get; }
|
||||
// protected new string DataDisplayFileName { get; }
|
||||
// protected new string DataFullFileName { get; }
|
||||
// protected new string Display { get; }
|
||||
public int? FaceBottom { get; }
|
||||
public string FaceFullFileName { get; }
|
||||
public int? FaceHeight { get; }
|
||||
public int? FaceLeft { get; }
|
||||
public string FaceRelativePath { get; }
|
||||
public int? FaceRight { get; }
|
||||
public int? FaceTop { get; }
|
||||
public int? FaceWidth { get; }
|
||||
public int ImageHeight { get; }
|
||||
public int ImageWidth { get; }
|
||||
// protected new DateTime LastModified { get; }
|
||||
public string LocationDisplayIndex { get; }
|
||||
public int? LocationIndex { get; }
|
||||
public bool? Populated { get; }
|
||||
public string RelativePath { get; }
|
||||
public string SourceFullFileName { get; }
|
||||
public string SourceRelativePath { get; }
|
||||
public long? SourceSize { get; }
|
||||
|
||||
}
|
10
Shared/Models/Properties/IFacePoint.cs
Normal file
10
Shared/Models/Properties/IFacePoint.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IFacePoint
|
||||
{
|
||||
|
||||
public int Index { get; }
|
||||
public int X { get; }
|
||||
public int Y { get; }
|
||||
|
||||
}
|
12
Shared/Models/Properties/IFileSystem.cs
Normal file
12
Shared/Models/Properties/IFileSystem.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IFileSystem
|
||||
{
|
||||
|
||||
public string ClassName { get; }
|
||||
public string DataDisplayFileName { get; }
|
||||
public string DataFullFileName { get; }
|
||||
public string Display { get; }
|
||||
public DateTime LastModified { get; }
|
||||
|
||||
}
|
12
Shared/Models/Properties/IIdentify.cs
Normal file
12
Shared/Models/Properties/IIdentify.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IIdentify
|
||||
{
|
||||
|
||||
public int DirectoryCount { get; }
|
||||
public string ParentDirectoryName { get; }
|
||||
public string Person { get; }
|
||||
public string PossibleYear { get; }
|
||||
public string RelativePath { get; }
|
||||
|
||||
}
|
10
Shared/Models/Properties/IIndex.cs
Normal file
10
Shared/Models/Properties/IIndex.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IIndex
|
||||
{
|
||||
|
||||
public DateTime? DateTime { get; }
|
||||
public int? Index { get; }
|
||||
public List<string> RelativePaths { get; }
|
||||
|
||||
}
|
12
Shared/Models/Properties/ILocation.cs
Normal file
12
Shared/Models/Properties/ILocation.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface ILocation
|
||||
{
|
||||
|
||||
public double Confidence { get; }
|
||||
public int Bottom { get; }
|
||||
public int Left { get; }
|
||||
public int Right { get; }
|
||||
public int Top { get; }
|
||||
|
||||
}
|
9
Shared/Models/Properties/IMetadataFile.cs
Normal file
9
Shared/Models/Properties/IMetadataFile.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IMetadataFile
|
||||
{
|
||||
|
||||
public MetadataFileId Id { get; } //string
|
||||
public MetadataFileCollection Collection { get; } //string
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IMetadataFileCollection.cs
Normal file
8
Shared/Models/Properties/IMetadataFileCollection.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IMetadataFileCollection
|
||||
{
|
||||
|
||||
public Dictionary<string, List<KeyValuePair<string, string>>> Values { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IMetadataFileId.cs
Normal file
8
Shared/Models/Properties/IMetadataFileId.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IMetadataFileId
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
12
Shared/Models/Properties/INavigate.cs
Normal file
12
Shared/Models/Properties/INavigate.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface INavigate
|
||||
{
|
||||
|
||||
public List<string[]> Levels { get; }
|
||||
public string SourceDirectory { get; }
|
||||
public string DirectoryRelativePath { get; }
|
||||
public Models.FaceFileSystem[] FaceFileSystemCollection { get; }
|
||||
public Models.DirectoryFileSystem[] DirectoryFileSystemCollection { get; }
|
||||
|
||||
}
|
10
Shared/Models/Properties/IOutputResolution.cs
Normal file
10
Shared/Models/Properties/IOutputResolution.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IOutputResolution
|
||||
{
|
||||
|
||||
public int Height { get; }
|
||||
public int Orientation { get; }
|
||||
public int Width { get; }
|
||||
|
||||
}
|
15
Shared/Models/Properties/IPerson.cs
Normal file
15
Shared/Models/Properties/IPerson.cs
Normal file
@ -0,0 +1,15 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPerson
|
||||
{
|
||||
|
||||
public PersonId Id { get; } //long
|
||||
public PersonBirthday Birthday { get; } //DateTime
|
||||
public PersonName Name { get; } //JsonValueKind.Object
|
||||
public List<PersonComment> Comments { get; } //string
|
||||
public List<PersonURL> URLs { get; } //string
|
||||
public List<PersonNumber> Numbers { get; } //string
|
||||
public List<PersonEmail> Emails { get; } //string
|
||||
public List<PersonAddress> Addresses { get; } //JsonValueKind.Array
|
||||
|
||||
} // ...
|
11
Shared/Models/Properties/IPersonAddress.cs
Normal file
11
Shared/Models/Properties/IPersonAddress.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonAddress
|
||||
{
|
||||
|
||||
public PersonAddressStreet Street { get; } //string
|
||||
public PersonAddressCity City { get; } //string
|
||||
public PersonAddressState State { get; } //string
|
||||
public PersonAddressZipCode ZipCode { get; } //string
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonAddressCity.cs
Normal file
8
Shared/Models/Properties/IPersonAddressCity.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonAddressCity
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonAddressState.cs
Normal file
8
Shared/Models/Properties/IPersonAddressState.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonAddressState
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonAddressStreet.cs
Normal file
8
Shared/Models/Properties/IPersonAddressStreet.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonAddressStreet
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonAddressZipCode.cs
Normal file
8
Shared/Models/Properties/IPersonAddressZipCode.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonAddressZipCode
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonBirthday.cs
Normal file
8
Shared/Models/Properties/IPersonBirthday.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonBirthday
|
||||
{
|
||||
|
||||
public DateTime Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonComment.cs
Normal file
8
Shared/Models/Properties/IPersonComment.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonComment
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonEmail.cs
Normal file
8
Shared/Models/Properties/IPersonEmail.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonEmail
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonId.cs
Normal file
8
Shared/Models/Properties/IPersonId.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonId
|
||||
{
|
||||
|
||||
public long Value { get; }
|
||||
|
||||
} // ...
|
11
Shared/Models/Properties/IPersonName.cs
Normal file
11
Shared/Models/Properties/IPersonName.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonName
|
||||
{
|
||||
|
||||
public PersonNameFirst First { get; } //string
|
||||
public PersonNameMiddle Middle { get; } //string
|
||||
public PersonNameLast Last { get; } //string
|
||||
public PersonNameAlias Alias { get; } //string
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonNameAlias.cs
Normal file
8
Shared/Models/Properties/IPersonNameAlias.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonNameAlias
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonNameFirst.cs
Normal file
8
Shared/Models/Properties/IPersonNameFirst.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonNameFirst
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonNameLast.cs
Normal file
8
Shared/Models/Properties/IPersonNameLast.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonNameLast
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonNameMiddle.cs
Normal file
8
Shared/Models/Properties/IPersonNameMiddle.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonNameMiddle
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonNumber.cs
Normal file
8
Shared/Models/Properties/IPersonNumber.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonNumber
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
8
Shared/Models/Properties/IPersonURL.cs
Normal file
8
Shared/Models/Properties/IPersonURL.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IPersonURL
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
} // ...
|
21
Shared/Models/Properties/IProperty.cs
Normal file
21
Shared/Models/Properties/IProperty.cs
Normal file
@ -0,0 +1,21 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IProperty
|
||||
{
|
||||
|
||||
public DateTime CreationTime { get; }
|
||||
public DateTime? DateTime { get; }
|
||||
public DateTime? DateTimeDigitized { get; }
|
||||
public DateTime? DateTimeOriginal { get; }
|
||||
public long FileSize { get; }
|
||||
public DateTime? GPSDateStamp { get; }
|
||||
public int? Height { get; }
|
||||
public int? Id { get; }
|
||||
public int[] Indices { get; }
|
||||
public DateTime LastWriteTime { get; }
|
||||
public string Make { get; }
|
||||
public string Model { get; }
|
||||
public string Orientation { get; }
|
||||
public int? Width { get; }
|
||||
|
||||
}
|
8
Shared/Models/Properties/IRelativePaths.cs
Normal file
8
Shared/Models/Properties/IRelativePaths.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IRelativePaths // : IRelativePaths
|
||||
{
|
||||
|
||||
public string Value { get; }
|
||||
|
||||
}
|
6
Shared/Models/Properties/IRenamePage.cs
Normal file
6
Shared/Models/Properties/IRenamePage.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IRenamePage // : IRenamePage
|
||||
{
|
||||
|
||||
}
|
16
Shared/Models/Properties/IStorage.cs
Normal file
16
Shared/Models/Properties/IStorage.cs
Normal file
@ -0,0 +1,16 @@
|
||||
namespace View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
public interface IStorage
|
||||
{
|
||||
|
||||
public string DistanceResultRootDirectory { get; }
|
||||
public string FaceRootDirectory { get; }
|
||||
public string IndexInfoRootDirectory { get; }
|
||||
public string MetadataRootDirectory { get; }
|
||||
public string PeopleRootDirectory { get; }
|
||||
public string ResizeRootDirectory { get; }
|
||||
public string RootDirectory { get; }
|
||||
public string RootResultsDirectory { get; }
|
||||
public string UrlRoot { get; }
|
||||
|
||||
}
|
Reference in New Issue
Block a user