Пример #1
0
        public override void InitializeSystems()
        {
            InitializeComponent();

            base.InitializeSystems();

            LooseMessages.Ping.Subscribe <string>(this, (message) =>
            {
                Console.WriteLine(message);
            });

            LooseMessages.Ping.Signal("Hello, World!");

            SplashTasks.Add(async() =>
            {
                await Task.Delay(5000);
            });
        }
Пример #2
0
 public override void InitializeSystems()
 {
     InitializeComponent();
     base.InitializeSystems();
     SplashTasks.Add(SettingsSystem.Instance.InitializeAsync);
 }