public ProviderManager(Framework framework, IDataSimulator dataSimulator = null, IExecutionSimulator executionSimulator = null) { this.framework = framework; this.providers = new ProviderList(); this.settings = new ProviderManagerSettings(); this.LoadSettings(); if (dataSimulator == null) { this.dataSimulator = new DataSimulator(framework); } else { this.dataSimulator = dataSimulator; } this.AddProvider(this.dataSimulator); if (executionSimulator == null) { this.executionSimulator = new ExecutionSimulator(framework); } else { this.executionSimulator = executionSimulator; } this.AddProvider(this.executionSimulator); }