コード例 #1
0
        public RecipesFacade(IRecipesProvider recipesProvider, IStorageReaderWriter storageReaderWriter)
        {
            _RecipesProvider = recipesProvider;

            SelectedRecipesContainer = new SelectedRecipesContainer();
            // new LocalStorageReaderWriter("favoriteRecipes")
            FavoriteRecipesContainer = new FavoriteRecipesContainer(storageReaderWriter, recipesProvider);
        }
コード例 #2
0
 public RecipesContainerRetriever(RecipesContainer recipesContainer, IStorageReaderWriter storageReaderWriter, IRecipesProvider recipesProvider)
 {
     _recipesContainer    = recipesContainer;
     _storageReaderWriter = storageReaderWriter;
     _recipesProvider     = recipesProvider;
 }
コード例 #3
0
 public FavoriteRecipesContainer(IStorageReaderWriter storageReaderWriter, IRecipesProvider recipesProvider)
 {
     _FavoriteRecipesContainerRetriever = new RecipesContainerRetriever(this, storageReaderWriter, recipesProvider);
 }
コード例 #4
0
 public RetailerSettings()
 {
     _StorageReaderWriter = new LocalStorageReaderWriter("carrefour");
 }
コード例 #5
0
 public RetailerSettings()
 {
     _StorageReaderWriter = new LocalStorageReaderWriter("intermarche");
 }