Unload and destroy the document. Element handles from it become invalid; dispose any on its elements first.
()
| 42 | // Invalidates element handles, so dispose their UIEventSubscriptions first. |
| 43 | public void Close() |
| 44 | { |
| 45 | if (IsValid) |
| 46 | { |
| 47 | UIWorld.FromHandle(World).UI.UnloadDocument(Handle); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | public void Dispose() => Close(); |
| 52 | |
| 53 | public void BringToFront() |
nothing calls this directly
no test coverage detected