mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
* touching publish.yml * Moved Examples into ./Examples * Moved Benchmarks into ./Tests * Moved Benchmarks into ./Tests * Moved UICatalog into ./Examples * Moved UICatalog into ./Examples 2 * Moved tests into ./Tests * Updated nuget
This commit is contained in:
18
Examples/ReactiveExample/Program.cs
Normal file
18
Examples/ReactiveExample/Program.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Reactive.Concurrency;
|
||||
using ReactiveUI;
|
||||
using Terminal.Gui;
|
||||
|
||||
namespace ReactiveExample;
|
||||
|
||||
public static class Program
|
||||
{
|
||||
private static void Main (string [] args)
|
||||
{
|
||||
Application.Init ();
|
||||
RxApp.MainThreadScheduler = TerminalScheduler.Default;
|
||||
RxApp.TaskpoolScheduler = TaskPoolScheduler.Default;
|
||||
Application.Run (new LoginView (new LoginViewModel ()));
|
||||
Application.Top.Dispose ();
|
||||
Application.Shutdown ();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user