/// <summary> /// Send a post request with header values "scenario": "positive", "value": /// 0.07 or "scenario": "negative", "value": -3.0 /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='scenario'> /// Send a post request with header values "scenario": "positive" or "negative" /// </param> /// <param name='value'> /// Send a post request with header values 0.07 or -3.0 /// </param> public static void ParamFloat(this IHeader operations, string scenario, double value) { operations.ParamFloatAsync(scenario, value).GetAwaiter().GetResult(); }