/// <summary> /// Gets all network watchers by subscription. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static IEnumerable <NetworkWatcher> ListAll(this INetworkWatchersOperations operations) { return(operations.ListAllAsync().GetAwaiter().GetResult()); }