We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f12a8d8 commit 4b1a4e0Copy full SHA for 4b1a4e0
1 file changed
src/Codebreaker.ViewModels/Models/Field.cs
@@ -1,9 +1,19 @@
1
namespace Codebreaker.ViewModels.Models;
2
3
+/// <summary>
4
+/// Represents a field in a move.
5
+/// </summary>
6
+/// <param name="possibleColors">The possible colors for this field.</param>
7
public partial class Field(string[] possibleColors) : ObservableObject
8
{
9
+ /// <summary>
10
+ /// The selected color for this field.
11
+ /// </summary>
12
[ObservableProperty]
13
private string? _color;
14
15
16
+ /// The possible colors for this field.
17
18
public string[] PossibleColors { get; init; } = possibleColors;
19
}
0 commit comments