コード例 #1
0
        public Injector(ContainerViewModel container)
        {
            _app             = new Application();
            _browser         = new ViewModelBrowser(container);
            _squadRepository = new SquadRepository();
            _collections     = new CollectionFactory(_app, _squadRepository);
            _changeManager   = new ChangeManager();

            _app.Managers = _squadRepository.GetManagers();
            _app.Teams    = _squadRepository.GetTeams();
        }