protected virtual void DetectGender() { if (Gender == Gender.Androgynous) { Gender = _genderDeterminator.Determinate(this); } }
public static Gender Detect(string middleName) { Guard.IfArgumentNullOrWhitespace(middleName, "middleName", "You must specify middle name to detect gender"); return(Determinator.Determinate(new Petrovich { MiddleName = middleName })); }
public Gender Test(IFio fio) { return(_determinator.Determinate(fio)); }