コード例 #1
0
 public static void LogMatrixRow(MatrixRowModel row)
 {
     Console.WriteLine($"Value: {row.Value}");
     foreach (var i in row.Value)
     {
         Console.WriteLine(i);
     }
 }
コード例 #2
0
        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);
        }