private SpecFlowProjectConfiguration LoadConfiguration() { ISpecFlowConfigurationReader configurationReader = new VsSpecFlowConfigurationReader(); //TODO: load through DI ISpecFlowProjectConfigurationLoader configurationLoader = new VsSpecFlowProjectConfigurationLoader(); //TODO: load through DI IProjectReference projectReference = new VsProjectScopeReference(this); return(configurationLoader.LoadConfiguration(configurationReader.ReadConfiguration(projectReference), projectReference)); }
private SpecFlowProjectConfiguration LoadConfiguration() { ISpecFlowConfigurationReader configurationReader = new VsSpecFlowConfigurationReader(); //TODO: load through DI ISpecFlowProjectConfigurationLoader configurationLoader = new VsSpecFlowProjectConfigurationLoader(); //TODO: load through DI IProjectReference projectReference = new VsProjectScopeReference(this); return configurationLoader.LoadConfiguration(configurationReader.ReadConfiguration(projectReference), projectReference); }