Exemple #1
0
        public static void CheckDelegateSubs()
        {
            var t = new Timer(1000);

            t.Elapsed += (_, __) =>
            {
                SettingsWindowViewModel.PrintEventsData();
                Log.CW($"Messages: {ChatManager.Instance.ChatMessages.Count}");
                Log.CW("----------------------------------------------------------");
            };
            t.Start();
        }