public Runner( IConfigurationLoader configurationLoader, IBootstrapperFactory bootstrapperFactory, IBridgeFactory bridgeFactory, string configurationName, string runName) { this.configurationLoader = configurationLoader; this.bootstrapperFactory = bootstrapperFactory; this.bridgeFactory = bridgeFactory; this.configurationName = configurationName; this.runName = runName; this.runData = new Dictionary <string, object>(); this.configuration = new Lazy <ConfigurationWrapper>(this.LoadConfiguration); this.contextFactory = null; }
public void Init(IBridgeFactory factory) { Bridge = factory.Create(); }