public DetectorSpecification(int radius, Position position, string simulationDirectory, IFileSystemAgent fileSystemAgent) { this.Radius = radius; this.Position = position; this.fileSystemAgent = fileSystemAgent; this.file = $"{simulationDirectory}/brain.inp"; }
public Form1() { this.fileSystemAgent = new FileSystemAgent(); this.physicsEquationsProvider = new PhysicsEquationsProvider(); this.converter = new Converter(); this.configuration = new Configuration(); InitializeComponent(); }
public Form1(IFileSystemAgent fileSystemAgent, IPhysicsEquationsProvider physicsEquationsProvider, IConverter converter, IConfiguration configuration) { this.fileSystemAgent = fileSystemAgent; this.physicsEquationsProvider = physicsEquationsProvider; this.converter = converter; this.configuration = configuration; InitializeComponent(); }
public LedSpecification(int wavelength, int power, Position position, string simulationDirectory, IPhysicsEquationsProvider physicsEquationsProvider, IFileSystemAgent filesSystemAgent) { this.Wavelength = wavelength; this.Power = power; this.Position = position; this.physicsEquationsProvider = physicsEquationsProvider; this.fileSystemAgent = filesSystemAgent; this.file = $"{simulationDirectory}/brain.inp"; }
public TimeSpecification(TimeSpan timeSpan, string simulationDirectory, IFileSystemAgent fileSystemAgent) { this.TimeSpan = timeSpan; this.fileSystemAgent = fileSystemAgent; this.file = $"{simulationDirectory}/brain.inp"; }
public Model(IFileSystemAgent fileSystemAgent, IConfiguration configuration) { this.simulations = new List<ISimulation>(); this.fileSystemAgent = fileSystemAgent; this.configuration = configuration; }