public DevRecipeSearchHandlerImpl(IConfiguration configuration) { _errorWriter = new SlackChatWriter(new ApiConfigProviderImpl(configuration)); _configuration = configuration; _searchProvider = new RecipeSearchProviderImpl(_errorWriter); _apiConfigProvider = new ApiConfigProviderImpl(_configuration); }
public ProdRecipeSearchHandlerImpl(IConfiguration configuration) { _configuration = configuration; _errorWriter = new SlackChatWriter(new EnvironmentVarsConfigProviderImpl(configuration)); _searchProvider = new RecipeSearchProviderImpl(_errorWriter); _apiConfigProvider = new EnvironmentVarsConfigProviderImpl(_configuration); }
public RecipeProviderImpl(IErrorWriter errorWriter, IApiConfigProvider apiConfigProvider, IRecipeSearchProvider recipeSearchProvider) { _errorWriter = errorWriter; _apiConfigProvider = apiConfigProvider; _recipeSearchProvider = recipeSearchProvider; }
public SlackChatWriter(IApiConfigProvider provider) { _provider = provider; }
public ApiConfigRepositoryImpl(IApiConfigProvider provider) { _provider = provider; }