コード例 #1
0
 /// <summary>
 /// Send a post request with header values "scenario": "valid", "value":
 /// "2010-01-01T12:34:56Z" or "scenario": "min", "value":
 /// "0001-01-01T00:00:00Z"
 /// </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-01T12:34:56Z" or
 /// "0001-01-01T00:00:00Z"
 /// </param>
 public static void ParamDatetime(this IHeader operations, string scenario, System.DateTime value)
 {
     operations.ParamDatetimeAsync(scenario, value).GetAwaiter().GetResult();
 }