/// <summary> /// Sets the key's value. /// </summary> /// <param name="newValue">The new value.</param> public virtual void AsDouble(double newValue) { string valueKey = BuildTokenForDouble(); AssertTypeSafe(valueKey, NativeTypeForKey(valueKey), GribValueType.Double); GribApiProxy.GribSetDouble(_handle, valueKey, newValue); }