BCR.GlobalSettings.GetInt32 C# (CSharp) Method

GetInt32() public method

public GetInt32 ( string key, int defaultValue ) : int
key string
defaultValue int
return int
        public int GetInt32(string key, int defaultValue)
        {
            string s;
              if (mSettings.TryGetValue(key, out s))
              {
            return Convert.ToInt32(s);
              }

              Set(key, defaultValue.ToString());
              return defaultValue;
        }