Пример #1
0
            public static WindowRefreshEventProvider GetInstance()
            {
                if (_instance == null)
                {
                    _instance = new WindowRefreshEventProvider();
                }

                return(_instance);
            }
Пример #2
0
 public Game(ConsoleContainer container)
 {
     _refreshEventProvider = WindowRefreshEventProvider.GetInstance();
     RefreshTask           = _refreshEventProvider.UsedTask;
     _gameContainer        = container;
 }