예제 #1
0
 /// <summary>
 /// Get a response with header values "GREY" or null
 /// </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 "null" or
 /// "empty"
 /// </param>
 public static HeaderResponseEnumHeaders ResponseEnum(this IHeader operations, string scenario)
 {
     return(operations.ResponseEnumAsync(scenario).GetAwaiter().GetResult());
 }