public MazeTableViewModel(double[][] arrayValues, int numberOfStates, TableTypes tableType) { _tableType = tableType; _arrayValues = arrayValues; _numberOfStates = numberOfStates; DetailsViewTitle = tableType.ToString() + " Details"; }
public MazeTableViewModel(int[][] arrayValues, int numberOfStates, TableTypes tableType) { _tableType = tableType; _numberOfStates = numberOfStates; _arrayValues = new double[arrayValues.Length][]; for (int i = 0; i < arrayValues.Length; ++i) { _arrayValues[i] = new double[arrayValues[i].Length]; for (int j = 0; j < arrayValues[i].Length; ++j) { _arrayValues[i][j] = arrayValues[i][j]; } } DetailsViewTitle = tableType.ToString() + " Details"; }