/// <summary>
 /// Bulk creates multiple ports.
 /// </summary>
 /// <param name="networkingService">The networking service.</param>
 /// <param name="ports">The port definitions.</param>
 /// <returns>
 /// The created ports.
 /// </returns>
 public static IEnumerable <Port> CreatePorts(this NetworkingService networkingService, IEnumerable <PortCreateDefinition> ports)
 {
     return(networkingService.CreatePortsAsync(ports).ForceSynchronous());
 }