public Converter52To531(ISolverSettingsFactory solverSettingsFactory, ISimulationResultsLoader simulationResultsLoader, ICompoundConverter52 compoundConverter, IObjectPathFactory objectPathFactory, IoC container, IDimensionFactory dimensionFactory) { _solverSettingsFactory = solverSettingsFactory; _simulationResultsLoader = simulationResultsLoader; _compoundConverter = compoundConverter; _objectPathFactory = objectPathFactory; _container = container; _dimensionFactory = dimensionFactory; _simulationChartElementCache = new List <XElement>(); }
public LazyLoadTask(IContentLoader contentLoader, ISimulationResultsLoader simulationResultsLoader, ISimulationChartsLoader simulationChartsLoader, ISimulationComparisonContentLoader simulationComparisonContentLoader, ISimulationAnalysesLoader simulationAnalysesLoader, IParameterIdentificationContentLoader parameterIdentificationContentLoader, ISensitivityAnalysisContentLoader sensitivityAnalysisContentLoader, IRegistrationTask registrationTask, IProgressManager progressManager) { _contentLoader = contentLoader; _simulationResultsLoader = simulationResultsLoader; _simulationChartsLoader = simulationChartsLoader; _registrationTask = registrationTask; _progressManager = progressManager; _simulationComparisonContentLoader = simulationComparisonContentLoader; _simulationAnalysesLoader = simulationAnalysesLoader; _parameterIdentificationContentLoader = parameterIdentificationContentLoader; _sensitivityAnalysisContentLoader = sensitivityAnalysisContentLoader; }
protected override void Context() { _registrationTask = A.Fake <IRegistrationTask>(); _progressManager = A.Fake <IProgressManager>(); _progressUpdater = A.Fake <IProgressUpdater>(); _contentLoader = A.Fake <IContentLoader>(); _simulationChartsLoader = A.Fake <ISimulationChartsLoader>(); _simulationResultsLoader = A.Fake <ISimulationResultsLoader>(); _simulationComparisonContentLoader = A.Fake <ISimulationComparisonContentLoader>(); _simulationAnalysesLoader = A.Fake <ISimulationAnalysesLoader>(); _parameterIdentificationContentendLoader = A.Fake <IParameterIdentificationContentLoader>(); _sensitivityAnalysisContentLoader = A.Fake <ISensitivityAnalysisContentLoader>(); A.CallTo(() => _progressManager.Create()).Returns(_progressUpdater); sut = new LazyLoadTask(_contentLoader, _simulationResultsLoader, _simulationChartsLoader, _simulationComparisonContentLoader, _simulationAnalysesLoader, _parameterIdentificationContentendLoader, _sensitivityAnalysisContentLoader, _registrationTask, _progressManager); _objectToLoad = A.Fake <IPKSimBuildingBlock>(); _objectToLoad.Id = "objectId"; }