/*! * \brief Load and parse a string and give it to the given setter * \param value The string to parse and load * \param setter The delegate setter */ private bool loadEnzymeString(string value, StrSetter setter) { if (String.IsNullOrEmpty(value)) { return(false); } setter(value); return(true); }
private bool loadAllosteryString(string value, StrSetter setter) { if (String.IsNullOrEmpty(value)) { Debug.Log("Error: Empty name field"); return false; } setter(value); return true; }
/*! * \brief This function load and parse a string and give it to the given setter * \param value The string to parse and load * \param setter The delegate setter * \return Return true is success false otherwise */ private bool loadAllosteryString(string value, StrSetter setter) { if (String.IsNullOrEmpty(value)) { Logger.Log("Allostery::loadAllosteryString empty name field" , Logger.Level.ERROR); return(false); } setter(value); return(true); }
private bool loadEnzymeString(string value, StrSetter setter) { if (String.IsNullOrEmpty(value)) return false; setter(value); return true; }
/*! \brief This function load and parse a string and give it to the given setter \param value The string to parse and load \param setter The delegate setter \return Return true is success false otherwise */ private bool loadAllosteryString(string value, StrSetter setter) { if (String.IsNullOrEmpty(value)) { Logger.Log ("Allostery::loadAllosteryString empty name field" , Logger.Level.ERROR); return false; } setter(value); return true; }