PersonRecuperateWindow.getCorrectSex C# (CSharp) 메소드

getCorrectSex() 보호된 메소드

protected getCorrectSex ( string sex ) : string
sex string
리턴 string
    protected string getCorrectSex(string sex)
    {
        if (sex == Constants.M) return  Catalog.GetString("Man");
        //this "F" is in spanish, change in the future to "W"
        else if (sex == Constants.F) return  Catalog.GetString ("Woman");
        else {
            return ""; //PersonsRecuperateFromOtherSessionWindow should pass a "" for ALL PERSONS
        }
    }