public static void LogMatrixRow(MatrixRowModel row) { Console.WriteLine($"Value: {row.Value}"); foreach (var i in row.Value) { Console.WriteLine(i); } }
public static async Task <MatrixRowModel> GetMatrixAsync(string path, int rowIndex) { MatrixRowModel row = new MatrixRowModel(); HttpResponseMessage response = await ApiClient.client.GetAsync(path); if (response.IsSuccessStatusCode) { row = await response.Content.ReadAsAsync <MatrixRowModel>(); } row.RowIndex = rowIndex; return(row); }