public bool MakeChoice(NfAppParamChoice choice) { if (choice == NfAppParamChoice.NfAppParamChoiceYes) { return(true); } return(false); }
public bool MakeChoice(NfAppParamChoice choice, bool curValue) { switch (choice) { case NfAppParamChoice.NfAppParamChoiceYes: return(true); case NfAppParamChoice.NfAppParamChoiceNo: return(false); default: break; } return(curValue); }