mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-02-08 05:30:59 -05:00
- Added Sandbox.Test.Unit project (contains independent tests that can run in parallel) - Modify some slow/stress tests (e.g. instead of doing a million iterations settle for 10k). Tests run almost twice as fast now.
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();
|
|
}
|
|
}
|