Exemplo n.º 1
0
 /// <summary>
 /// Delete entity from adoxio_establishmentwatchwords
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioEstablishmentwatchwordid'>
 /// key: adoxio_establishmentwatchwordid of adoxio_establishmentwatchword
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse DeleteWithHttpMessages(this IEstablishmentwatchwords operations, string adoxioEstablishmentwatchwordid, string ifMatch = default(string), Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.DeleteWithHttpMessagesAsync(adoxioEstablishmentwatchwordid, ifMatch, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Delete entity from adoxio_establishmentwatchwords
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioEstablishmentwatchwordid'>
 /// key: adoxio_establishmentwatchwordid of adoxio_establishmentwatchword
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteAsync(this IEstablishmentwatchwords operations, string adoxioEstablishmentwatchwordid, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteWithHttpMessagesAsync(adoxioEstablishmentwatchwordid, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }