mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-02 03:18:23 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
18 lines
264 B
Plaintext
18 lines
264 B
Plaintext
@namespace TestComponents
|
|
|
|
<div>
|
|
The Title Is @Title
|
|
</div>
|
|
|
|
@code
|
|
{
|
|
public string Title { get; set; }
|
|
|
|
public System.Action OnSomethingSomething{ get; set; }
|
|
|
|
public void TriggerCallback()
|
|
{
|
|
OnSomethingSomething?.Invoke();
|
|
}
|
|
}
|