Exemplo n.º 1
0
 ///<summary>Returns the ValueString of a pref or null if that pref is not found in the database.</summary>
 private string GetHiddenPrefString(PrefName pref)
 {
     try {
         Pref hiddenPref = Prefs.GetOne(pref);
         return(hiddenPref.ValueString);
     }
     catch (Exception ex) {
         ex.DoNothing();
         return(null);
     }
 }