Exemplo n.º 1
0
 /// <summary>
 /// Deletes a package.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Execution or Execution.Write.
 ///
 /// Required permissions: Libraries.Delete.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='key'>
 /// </param>
 public static void DeleteById(this ILibraries operations, string key)
 {
     operations.DeleteByIdAsync(key).GetAwaiter().GetResult();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deletes a package.
 /// </summary>
 /// <remarks>
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='ifMatch'>
 /// If-Match header
 /// </param>
 public static void DeleteById(this ILibraries operations, string id, string ifMatch = default(string))
 {
     operations.DeleteByIdAsync(id, ifMatch).GetAwaiter().GetResult();
 }