/// <summary> /// Replace with Operation Object /// #http://swagger.io/specification/#operationObject /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task ApipFuncpostAsync(this IAsfpfunc operations, CancellationToken cancellationToken = default(CancellationToken)) { await operations.ApipFuncpostWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false); }
/// <summary> /// Replace with Operation Object /// #http://swagger.io/specification/#operationObject /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static void ApipFuncpost(this IAsfpfunc operations) { Task.Factory.StartNew(s => ((IAsfpfunc)s).ApipFuncpostAsync(), operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult(); }