Example #1
0
        protected override void Context()
        {
            _objectPathFactory = IoC.Resolve <IObjectPathFactory>();
            var solverSettingsFactory = IoC.Resolve <ISolverSettingsFactory>();

            _solverSettings = solverSettingsFactory.CreateCVODE();
            _simulationExporterCreatorFactory = IoC.Resolve <ISimulationExportCreatorFactory>();
            sut = new SimModelExporter(_simulationExporterCreatorFactory, new ExportSerializer(_simModelXmlSerializerRepository));
        }
Example #2
0
 public SimModelExporter(ISimulationExportCreatorFactory simulationExportCreatorFactory, IExportSerializer exportSerializer)
 {
     _simulationExportCreatorFactory = simulationExportCreatorFactory;
     _exportSerializer = exportSerializer;
 }