/// <summary> /// test send a push notification /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='namespaceName'> /// The namespace name. /// </param> /// <param name='notificationHubName'> /// The notification hub name. /// </param> /// <param name='parameters'> /// Debug send parameters /// </param> public static DebugSendResponse DebugSend(this INotificationHubsOperations operations, string resourceGroupName, string namespaceName, string notificationHubName, object parameters = default(object)) { return(operations.DebugSendAsync(resourceGroupName, namespaceName, notificationHubName, parameters).GetAwaiter().GetResult()); }