23 lines
1.3 KiB
C#
23 lines
1.3 KiB
C#
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(personKey, personBirthday, personDisplayDirectoryName.Split(personCharacters));
|
|
|
|
Models.Person TestStatic_GetPerson(long personKey, string[] segments) =>
|
|
GetPerson(personKey, segments);
|
|
static Models.Person GetPerson(long personKey, string[] segments) =>
|
|
Person.GetPerson(personKey, IPersonBirthday.GetPersonBirthday(personKey), segments);
|
|
|
|
} |