예제 #1
0
 public RecipeFacade(
     IRecipeClient recipeClient,
     IOptions <ApiOptions> apiOptions,
     IOptions <WebOptions> webOptions)
 {
     _recipeClient   = recipeClient;
     this.apiOptions = apiOptions;
     this.webOptions = webOptions;
 }
예제 #2
0
 public RecipesFacade(IRecipeClient recipeClient)
 {
     this.recipeClient = recipeClient;
 }
예제 #3
0
 public HomeController(IRecipeClient recipeClient)
 {
     this.recipeClient = recipeClient;
 }
예제 #4
0
 public RecipeFacade(IRecipeClient recipeClient)
 {
     _recipeClient = recipeClient;
 }
예제 #5
0
        public HomeController()
        {
            var apiClient = new ApiClient(HttpClientInstance.Instance);

            recipeClient = new RecipeClient(apiClient);
        }