We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c3f6d6 commit 717edcdCopy full SHA for 717edcd
1 file changed
src/Codebreaker.ViewModels/Models/Game.cs
@@ -6,7 +6,8 @@ public partial class Game(
6
string playerName,
7
DateTime startTime,
8
int numberCodes,
9
- int maxMoves) : ObservableObject
+ int maxMoves,
10
+ IDictionary<string, string[]> fieldValues) : ObservableObject
11
{
12
/// <summary>
13
/// Gets the unique identifier of the game.
@@ -70,7 +71,7 @@ public partial class Game(
70
71
72
/// A list of possible field values the user has to chose from
73
/// </summary>
- public required IDictionary<string, string[]> FieldValues { get; init; }
74
+ public IDictionary<string, string[]> FieldValues { get; init; } = fieldValues;
75
76
77
/// A list of moves the player made
0 commit comments