public ChampionshipOverviewController(IViewModelFactory viewModelFactory, IChildControllerFactory childControllerFactory, IChampionshipsPool championshipsPool, IWindowService windowService, IDialogService dialogService, IChampionshipManipulator championshipManipulator, IChampionshipDialogProvider championshipDialogProvider) { _viewModelFactory = viewModelFactory; _childControllerFactory = childControllerFactory; _championshipsPool = championshipsPool; _windowService = windowService; _dialogService = dialogService; _championshipManipulator = championshipManipulator; _championshipDialogProvider = championshipDialogProvider; }
public ChampionshipController(IViewModelFactory viewModelFactory, IChildControllerFactory childControllerFactory, ISessionEventProvider sessionEventProvider, IChampionshipsPool championshipsPool, IChampionshipEligibilityEvaluator championshipEligibilityEvaluator) { _championshipCandidates = new List <ChampionshipDto>(); _sessionEventProvider = sessionEventProvider; _championshipsPool = championshipsPool; _championshipEligibilityEvaluator = championshipEligibilityEvaluator; ChampionshipIconStateViewModel = viewModelFactory.Create <ChampionshipIconStateViewModel>(); SetChampionshipIconToNone(); _championshipOverviewController = childControllerFactory.Create <IChampionshipOverviewController, IChampionshipController>(this); _championshipEventController = childControllerFactory.Create <IChampionshipEventController, IChampionshipController>(this); _championshipSelectionController = childControllerFactory.Create <IChampionshipSelectionController, IChampionshipController>(this); }
public void setChildControllerFactory(IChildControllerFactory childControllerFactory) { _childControllerFactory = childControllerFactory; }