Beispiel #1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='byteParameter'>
 /// </param>
 /// <param name='shortParameter'>
 /// </param>
 /// <param name='intParameter'>
 /// </param>
 /// <param name='longParameter'>
 /// </param>
 /// <param name='uShortParameter'>
 /// </param>
 /// <param name='uIntParameter'>
 /// </param>
 /// <param name='uLongParameter'>
 /// </param>
 /// <param name='floatParameter'>
 /// </param>
 /// <param name='doubleParameter'>
 /// </param>
 /// <param name='decimalParameter'>
 /// </param>
 /// <param name='stringParameter'>
 /// </param>
 /// <param name='dateTime'>
 /// </param>
 /// <param name='timeSpan'>
 /// </param>
 /// <param name='dateTimeOffset'>
 /// </param>
 /// <param name='guid'>
 /// </param>
 /// <param name='charParameter'>
 /// </param>
 /// <param name='format'>
 /// Specifies response output format
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <EchoTypes> GetAsync(this IEchoTypesOperations operations, int?byteParameter = default(int?), int?shortParameter = default(int?), int?intParameter = default(int?), long?longParameter = default(long?), int?uShortParameter = default(int?), int?uIntParameter = default(int?), long?uLongParameter = default(long?), double?floatParameter = default(double?), double?doubleParameter = default(double?), double?decimalParameter = default(double?), string stringParameter = default(string), System.DateTime?dateTime = default(System.DateTime?), string timeSpan = default(string), string dateTimeOffset = default(string), string guid = default(string), string charParameter = default(string), string format = "json", CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(byteParameter, shortParameter, intParameter, longParameter, uShortParameter, uIntParameter, uLongParameter, floatParameter, doubleParameter, decimalParameter, stringParameter, dateTime, timeSpan, dateTimeOffset, guid, charParameter, format, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Beispiel #2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='byteParameter'>
 /// </param>
 /// <param name='shortParameter'>
 /// </param>
 /// <param name='intParameter'>
 /// </param>
 /// <param name='longParameter'>
 /// </param>
 /// <param name='uShortParameter'>
 /// </param>
 /// <param name='uIntParameter'>
 /// </param>
 /// <param name='uLongParameter'>
 /// </param>
 /// <param name='floatParameter'>
 /// </param>
 /// <param name='doubleParameter'>
 /// </param>
 /// <param name='decimalParameter'>
 /// </param>
 /// <param name='stringParameter'>
 /// </param>
 /// <param name='dateTime'>
 /// </param>
 /// <param name='timeSpan'>
 /// </param>
 /// <param name='dateTimeOffset'>
 /// </param>
 /// <param name='guid'>
 /// </param>
 /// <param name='charParameter'>
 /// </param>
 /// <param name='format'>
 /// Specifies response output format
 /// </param>
 public static EchoTypes Get(this IEchoTypesOperations operations, int?byteParameter = default(int?), int?shortParameter = default(int?), int?intParameter = default(int?), long?longParameter = default(long?), int?uShortParameter = default(int?), int?uIntParameter = default(int?), long?uLongParameter = default(long?), double?floatParameter = default(double?), double?doubleParameter = default(double?), double?decimalParameter = default(double?), string stringParameter = default(string), System.DateTime?dateTime = default(System.DateTime?), string timeSpan = default(string), string dateTimeOffset = default(string), string guid = default(string), string charParameter = default(string), string format = "json")
 {
     return(operations.GetAsync(byteParameter, shortParameter, intParameter, longParameter, uShortParameter, uIntParameter, uLongParameter, floatParameter, doubleParameter, decimalParameter, stringParameter, dateTime, timeSpan, dateTimeOffset, guid, charParameter, format).GetAwaiter().GetResult());
 }