Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 479b0e85 authored by Harald Martini's avatar Harald Martini
Browse files

Rearranged constructor

parent a92a1aed
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,8 @@ namespace TUGraz.VectoCore.Models.Simulation
public interface ISimulatorFactoryFactory
{
ISimulatorFactory Factory(
ExecutionMode mode, IInputDataProvider dataProvider,
ExecutionMode mode,
IInputDataProvider dataProvider,
IOutputDataWriter writer, bool validate = true);
ISimulatorFactory Factory(ExecutionMode mode,
......@@ -46,7 +47,7 @@ namespace TUGraz.VectoCore.Models.Simulation
IOutputDataWriter writer,
IDeclarationReport declarationReport,
IVTPReport vtpReport,
bool validate = true
bool validate
);
}
}
......@@ -81,15 +81,17 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl.SimulatorFactory
}
[UsedImplicitly]
public SimulatorFactoryDeclaration(IInputDataProvider dataProvider,
public SimulatorFactoryDeclaration(
IInputDataProvider dataProvider,
IOutputDataWriter writer,
bool validate, IXMLInputDataReader xmlInputDataReader,
bool validate,
IXMLInputDataReader xmlInputDataReader,
ISimulatorFactoryFactory simulatorFactoryFactory, IXMLDeclarationReportFactory xmlDeclarationReportFactory) : this(
dataProvider: dataProvider,
declarationReport: null,
writer: writer,
vtpReport: null,
validate: true,
validate: validate,
xmlInputDataReader: xmlInputDataReader,
simulatorFactoryFactory: simulatorFactoryFactory,
xmlDeclarationReportFactory: xmlDeclarationReportFactory)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment