Ejemplo n.º 1
0
        public void MyTestInitialize()
        {
            mockEventAggregator = new Mock<IEventAggregator>();

            outputEvent = new OutputEvent();
            mockEventAggregator.Setup(mock => mock.GetEvent<OutputEvent>()).Returns(outputEvent);
            msmsFragmentAnalyzer = new MsMsFragmentAnalyzer(mockEventAggregator.Object);
        }
Ejemplo n.º 2
0
        public MsMsFragmentAlgorithm(
			IEventAggregator eventAggregator,
			IMsMsSpectrumSelection msmsSpectrumSelection,
			ISmoothing smoothing,
			MsMsFragmentAnalyzer msmsFragmentAnalyzer,
			DeuterationResultGenerator deuterationResultGenerator,
			IServiceLocator serviceLocator)
        {
            _eventAggregator = eventAggregator;
            this.deuterationResultGenerator = deuterationResultGenerator;
            this.msmsSpectrumSelection = msmsSpectrumSelection;
            _smoothing = smoothing;
            this.msmsFragmentAnalyzer = msmsFragmentAnalyzer;
            _serviceLocator = serviceLocator;

            ProcessingSteps.Add(msmsSpectrumSelection);
            ProcessingSteps.Add(_smoothing);
            ProcessingSteps.Add(msmsFragmentAnalyzer);
        }