Inheritance: Model.Controller
Exemplo n.º 1
0
        public SessionController(
            IDispatcherExecute dispatcher,
            CommonServices svc,
            MutantDetailsController mutantDetailsController,
            IMutantsContainer mutantsContainer,
            ITestsContainer testsContainer,
            IFactory <ResultsSavingController> resultsSavingFactory,
            IFactory <TestingProcess> testingProcessFactory,
            IRootFactory <TestingMutant> testingMutantFactory,
            MutationSessionChoices choices,
            OptionsModel options)
        {
            _dispatcher = dispatcher;
            _svc        = svc;
            _mutantDetailsController = mutantDetailsController;
            _mutantsContainer        = mutantsContainer;
            _testsContainer          = testsContainer;
            _resultsSavingFactory    = resultsSavingFactory;
            _testingProcessFactory   = testingProcessFactory;
            _testingMutantFactory    = testingMutantFactory;
            _choices = choices;

            _sessionState         = SessionState.NotStarted;
            _sessionEventsSubject = new Subject <SessionEventArgs>();
            _subscriptions        = new List <IDisposable>();
            _options = options;
        }
Exemplo n.º 2
0
        public SessionController(
            IDispatcherExecute dispatcher,
            CommonServices svc,
            MutantDetailsController mutantDetailsController,
            IMutantsContainer mutantsContainer,
            ITestsContainer testsContainer,
            IFactory<ResultsSavingController> resultsSavingFactory,
            IFactory<TestingProcess> testingProcessFactory,
            IRootFactory<TestingMutant> testingMutantFactory,
            MutationSessionChoices choices)
        {
            _dispatcher = dispatcher;
            _svc = svc;
            _mutantDetailsController = mutantDetailsController;
            _mutantsContainer = mutantsContainer;
            _testsContainer = testsContainer;
            _resultsSavingFactory = resultsSavingFactory;
            _testingProcessFactory = testingProcessFactory;
            _testingMutantFactory = testingMutantFactory;
            _choices = choices;

            _sessionState = SessionState.NotStarted;
            _sessionEventsSubject = new Subject<SessionEventArgs>();
            _subscriptions = new List<IDisposable>();


        }