public float GetFloat(int i) { var value = GetValue(i); if (value != null) { float num; if (float.TryParse(value.ToString(), NumberStyles.Any, CultureInfo.InvariantCulture.NumberFormat, out num)) return num; } return SafeConverter.Convert<float>(value); }
public double GetDouble(int i) { var value = GetValue(i); if (value != null) { double num; if (double.TryParse(value.ToString(), NumberStyles.Any, CultureInfo.InvariantCulture.NumberFormat, out num)) return num; } return SafeConverter.Convert<double>(value); }
public string GetString(int i) { return SafeConverter.Convert<string>(GetValue(i)); }
public long GetInt64(int i) { return SafeConverter.Convert<long>(GetValue(i)); }
public int GetInt32(int i) { return SafeConverter.Convert<int>(GetValue(i)); }
public short GetInt16(int i) { return SafeConverter.Convert<short>(GetValue(i)); }
public Guid GetGuid(int i) { return SafeConverter.Convert<Guid>(GetValue(i)); }
public char GetChar(int i) { return SafeConverter.Convert<char>(GetValue(i)); }
public byte GetByte(int i) { return SafeConverter.Convert<byte>(GetValue(i)); }
public bool GetBoolean(int i) { return SafeConverter.Convert<bool>(GetValue(i)); }