/// <summary>
 /// Writes the rows with the specified write options.
 /// </summary>
 /// <typeparam name="TInfluxRow"></typeparam>
 /// <param name="client">The IInfluxClient that performs operation.</param>
 /// <param name="db"></param>
 /// <param name="rows"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 public static Task WriteAsync <TInfluxRow>(this IInfluxClient client, string db, IEnumerable <TInfluxRow> rows, InfluxWriteOptions options)
     where TInfluxRow : new()
 {
     return(client.WriteAsync(db, null, rows, options));
 }
 /// <summary>
 /// Writes the rows with default write options.
 /// </summary>
 /// <typeparam name="TInfluxRow"></typeparam>
 /// <param name="client">The IInfluxClient that performs operation.</param>
 /// <param name="db"></param>
 /// <param name="measurementName"></param>
 /// <param name="rows"></param>
 /// <returns></returns>
 public static Task WriteAsync <TInfluxRow>(this IInfluxClient client, string db, string measurementName, IEnumerable <TInfluxRow> rows)
     where TInfluxRow : new()
 {
     return(client.WriteAsync(db, measurementName, rows, client.DefaultWriteOptions));
 }