예제 #1
0
        void Init()
        {
            _startUp.ConfigureDependencies(_ioc);
            _startUp.ConfigureStaticData(_ioc.GetInstance <IConfiguration>());
            UIDataManager.Config  = _ioc.GetInstance <IConfiguration>();
            UIDataManager.Manager = _ioc.GetInstance <IManager>();

            UIDataManager.Manager.OldBoxesDeletionEvent += (s, deletedBoxes) =>
            {
                UIDataManager.AutomaticallyDiscardedBoxes.AddRange(deletedBoxes);
            };
        }