namespace View_by_Distance.Shared.Models.Stateless.Methods; public interface IPerson { // ... string TestStatic_GetFileFullName(Properties.IStorage storage, string personBirthdayFormat, Models.Person person) => GetFileFullName(storage, personBirthdayFormat, person); static string GetFileFullName(Properties.IStorage storage, string personBirthdayFormat, Models.Person person) => IPersonBirthday.GetFileFullName(storage, personBirthdayFormat, person.Birthday); Models.Person TestStatic_GetPerson(char[] personCharacters, string personDisplayDirectoryName, long personKey, Models.PersonBirthday personBirthday) => GetPerson(personCharacters, personDisplayDirectoryName, personKey, personBirthday); static Models.Person GetPerson(char[] personCharacters, string personDisplayDirectoryName, long personKey, Models.PersonBirthday personBirthday) => Person.GetPerson(Array.Empty(), null, personKey, personBirthday, personDisplayDirectoryName.Split(personCharacters), null); Models.Person TestStatic_GetPerson(string[] personDisplayDirectoryAllFiles, string personKeyFormatted, long personKey, string[] segments, string[]? filteredIndividualsLines) => GetPerson(personDisplayDirectoryAllFiles, personKeyFormatted, personKey, segments, filteredIndividualsLines); static Models.Person GetPerson(string[] personDisplayDirectoryAllFiles, string personKeyFormatted, long personKey, string[] segments, string[]? filteredIndividualsLines) => Person.GetPerson(personDisplayDirectoryAllFiles, personKeyFormatted, personKey, IPersonBirthday.GetPersonBirthday(personKey), segments, filteredIndividualsLines); (string[] headerLines, Dictionary> individuals, string[] footerLines) TestStatic_GetIndividuals(string gedCOMFile) => GetIndividuals(gedCOMFile); static (string[] headerLines, Dictionary> individuals, string[] footerLines) GetIndividuals(string gedCOMFile) => Person.GetIndividuals(gedCOMFile); string[] TestStatic_GetFiltered(List individualsLines) => GetFiltered(individualsLines); static string[] GetFiltered(List individualsLines) => Person.GetFiltered(individualsLines); void TestStatic_CreateTree(string mappingDefaultName, string personBirthdayFormat, string resultAllInOne, Models.PersonContainer[] personContainers, string[] gedCOMHeaderLines, string[] gedCOMFooterLines, long ticks, string a2PeopleContentDirectory, Dictionary> personKeyToIds) => CreateTree(mappingDefaultName, personBirthdayFormat, resultAllInOne, personContainers, gedCOMHeaderLines, gedCOMFooterLines, ticks, a2PeopleContentDirectory, personKeyToIds); static void CreateTree(string mappingDefaultName, string personBirthdayFormat, string resultAllInOne, Models.PersonContainer[] personContainers, string[] gedCOMHeaderLines, string[] gedCOMFooterLines, long ticks, string a2PeopleContentDirectory, Dictionary> personKeyToIds) => Person.CreateTree(mappingDefaultName, personBirthdayFormat, resultAllInOne, personContainers, gedCOMHeaderLines, gedCOMFooterLines, ticks, a2PeopleContentDirectory, personKeyToIds); }