Exemplo n.º 1
0
 /// <summary>
 /// Convert the gender from the enum to the string used by the app.
 /// </summary>
 /// <param name="gender">Gender to convert to a string.</param>
 /// <returns>String representation of the gender.</returns>
 private string ConvertGenderToString(NfcGender gender)
 {
     return (gender == NfcGender.Male) ? GenderMaleString : GenderFemaleString;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Convert the gender from the enum to the string used by the app.
 /// </summary>
 /// <param name="gender">Gender to convert to a string.</param>
 /// <returns>String representation of the gender.</returns>
 private string ConvertGenderToString(NfcGender gender)
 {
     return((gender == NfcGender.Male) ? GenderMaleString : GenderFemaleString);
 }