Ejemplo n.º 1
0
 /// <summary>
 /// Send a post request with header values "scenario": "valid", "value":
 /// "2010-01-01" or "scenario": "min", "value": "0001-01-01"
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='scenario'>
 /// Send a post request with header values "scenario": "valid" or "min"
 /// </param>
 /// <param name='value'>
 /// Send a post request with header values "2010-01-01" or "0001-01-01"
 /// </param>
 public static void ParamDate(this IHeader operations, string scenario, System.DateTime value)
 {
     operations.ParamDateAsync(scenario, value).GetAwaiter().GetResult();
 }