Пример #1
0
 /*!
  * \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);
 }
Пример #2
0
 private bool loadAllosteryString(string value, StrSetter setter)
 {
     if (String.IsNullOrEmpty(value))
       {
     Debug.Log("Error: Empty name field");
     return false;
       }
     setter(value);
     return true;
 }
Пример #3
0
 /*!
  * \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);
 }
Пример #4
0
 private bool loadEnzymeString(string value, StrSetter setter)
 {
     if (String.IsNullOrEmpty(value))
       return false;
     setter(value);
     return true;
 }
Пример #5
0
    /*!
\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;    
    }