Files
sbox-public/engine/Sandbox.Compiling.Test/Data/codegen/HardMode.razor
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

32 lines
641 B
Plaintext

@namespace Sandbox.Test.Generated
@using Sandbox.UI
@page "/home/page/url/"
<span>Hello this is a simple component</span>
<div>
<div class="title" hello=minimized>This is the title</div>
<p>This is something else.</p>
</div>
<MyButton CurrentDate=@(System.DateTime.UtcNow)></MyButton>
<div @ref=MyPanelReference style="The Style">
<div>
Hey it's @StringValue !
</div>
<div class="markup">
<div>more markup</div>
</div>
</div>
@for ( int i=0; i<100;i++)
{
<div>BULLSHIT</div>
}
@code{
public string StringValue{ get; set; }
public Sandbox.UI.Panel MyPanelReference { get; set; }
}