常用方法
常用方法
常用方法
常用方法
/// <summary> /// Send a 200 response with no payload, when a payload is expected - client /// should return a null object of thde type for model A /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <A> Get200ModelA200NoneAsync(this IMultipleResponses operations, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.Get200ModelA200NoneWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }