Beispiel #1
0
 /// <summary>
 /// Gets all service connections of the service type for GDPR export.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <SharedConnectionResponse> > ConnectionsAsync(this ISharedconnection operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ConnectionsWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Gets all service connections of the service type for GDPR export.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static IList <SharedConnectionResponse> Connections(this ISharedconnection operations)
 {
     return(operations.ConnectionsAsync().GetAwaiter().GetResult());
 }