Skip to content

Commit c73060c

Browse files
committed
Streamline AI configuration by consolidating C# coding standards guidance
1 parent e2a7182 commit c73060c

File tree

3 files changed

+38
-177
lines changed

3 files changed

+38
-177
lines changed

.ai/04-csharp-coding-standards.md

Lines changed: 0 additions & 177 deletions
This file was deleted.

assets/timewarp-state-avatar.svg

Lines changed: 12 additions & 0 deletions
Loading
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
namespace Test.App.Client.Features.WindowDimensions;
2+
3+
public sealed partial class WindowDimensionsState : State<WindowDimensionsState>
4+
{
5+
public int Width { get; private set; }
6+
public int Height { get; private set; }
7+
8+
public WindowDimensionsState() { }
9+
10+
[JsonConstructor]
11+
public WindowDimensionsState(Guid guid, int width, int height)
12+
{
13+
Guid = guid;
14+
Width = width;
15+
Height = height;
16+
}
17+
18+
/// <summary>
19+
/// Set the Initial State
20+
/// </summary>
21+
public override void Initialize()
22+
{
23+
Width = 1920; // Default width
24+
Height = 1080; // Default height
25+
}
26+
}

0 commit comments

Comments
 (0)