public MyBrewsController(IUserService userService, IRecipeService recipeService, IBrewService brewService, ITemperatureAggregateService temperatureAggregateService) { UserService = userService; RecipeService = recipeService; BrewService = brewService; TemperatureAggregateService = temperatureAggregateService; }
public WeeklyRecipeViewModel( BackgroundImageRotator backgroundImageRotator, IRecipeService recipeService, RecipeMapper recipeMapper, WeeklyThaiRecipeSettings weeklyThaiRecipeSettings, IPushRegistrationService pushRegistrationService) { this.backgroundImageRotator = backgroundImageRotator; this.weeklyThaiRecipeSettings = weeklyThaiRecipeSettings; this.pushRegistrationService = pushRegistrationService; BusyIndicatorIsVisible = true; Messenger.Default.Register<List<Recipe>>( this, message => { Recipes = new ObservableCollection<RecipeViewModel>(recipeMapper.Map(message)); Recipes[0].IsFirst = true; this.CurrentRecipe = Recipes[0]; BusyIndicatorIsVisible = false; }); RotatePanoramaBackground(); this.InitializeAndStartTimer(); recipeService.StartGetAllRecipes(); this.SubmitReviewCommand = new RelayCommand(SubmitReview); this.MoreAppsCommand = new RelayCommand(this.MoreApps); }
public RecipeServiceTests() { this.service = new RecipeService(); service.Add(new Recipe { Name = "Pie" } ); service.Add(new Recipe { Name = "Cake" } ); }
/// <summary> /// ctor the Mighty /// </summary> public UserController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IUserService userService, IUserResolver userResolver, IRecipeService recipeService, INotificationService notificationService) { this.UnitOfWorkFactory = unitOfWorkFactory; this.UserService = userService; this.UserResolver = userResolver; this.RecipeService = recipeService; this.NotificationService = notificationService; }
/// <summary> /// ctor the Mighty /// </summary> public BrewSessionCommentNotification(INotificationService notificationService, IRecipeService recipeService, IUserService userService, IEmailSender emailSender, IWebSettings webSettings, BrewgrUrlBuilder recipeUrlBuilder) { this.NotificationService = notificationService; this.RecipeService = recipeService; this.UserService = userService; this.EmailSender = emailSender; this.WebSettings = webSettings; this.RecipeUrlBuilder = recipeUrlBuilder; }
/// <summary> /// ctor the Mighty /// </summary> public SendToShopController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IPartnerIdResolver partnerIdResolver, IPartnerService partnerService, IRecipeService recipeService, ISendToShopService sendToShopService, IStringCryptoService stringCryptoService) { this.UnitOfWorkFactory = unitOfWorkFactory; this.PartnerIdResolver = partnerIdResolver; this.PartnerService = partnerService; this.RecipeService = recipeService; this.SendToShopService = sendToShopService; this.StringCryptoService = stringCryptoService; }
/// <summary> /// ctor the Mighty /// </summary> public RecipeController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IRecipeService recipeService, IBeerStyleService beerStyleService, IStaticContentService staticContentService, IUserService userService, INotificationService notificationService, IPartnerIdResolver partnerIdResolver, IBeerXmlRecipeExporter beerXmlExporter, IBeerXmlRecipeImporter beerXmlImporter, IPartnerService partnerService, ISendToShopService sendToShopService) { this.UnitOfWorkFactory = unitOfWorkFactory; this.RecipeService = recipeService; this.BeerStyleService = beerStyleService; this.StaticContentService = staticContentService; this.UserService = userService; this.NotificationService = notificationService; this.PartnerIdResolver = partnerIdResolver; this.BeerXmlExporter = beerXmlExporter; this.BeerXmlImporter = beerXmlImporter; this.PartnerService = partnerService; this.SendToShopService = sendToShopService; }
/// <summary> /// ctor the Mighty /// </summary> public RootController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IUserLoginService userLoginService, IAuthenticationService authService, IUserResolver userResolver, IOAuthService oAuthService, IUserService userService, ISearchService searchService, IFacebookConnectSettings facebookConnectSettings, IMarketingService marketingService, IRecipeService recipeService, IEmailMessageFactory emailMessageFactory, IEmailSender emailSender, ISeoSitemap seoSitemap) { this.UnitOfWorkFactory = unitOfWorkFactory; this.UserLoginService = userLoginService; this.AuthService = authService; this.UserResolver = userResolver; this.OAuthService = oAuthService; this.UserService = userService; this.SearchService = searchService; this.FacebookConnectSettings = facebookConnectSettings; this.MarketingService = marketingService; this.RecipeService = recipeService; this.EmailMessageFactory = emailMessageFactory; this.EmailSender = emailSender; this.SeoSitemap = seoSitemap; }
public void Setup() { this.context = MockDbContext.GetContext(); this.recipeService = new RecipeService(this.context); }
public HomeController(ADProjContext context, IRecipeService recipeService, IGroupService groupService) { _context = context; _recipeService = recipeService; _groupService = groupService; }
public SearchRecipesTests() { _sut = new RecipeService(_recipeRepository.Object, _userRepository.Object, new IngredientServices(_ingredientRepository.Object)); }
public RecipeAppService(IRecipeService serviceBase) : base(serviceBase) { _service = serviceBase; }
public RecipeController(IRecipeService recipe, IStepService stepService) { _recipeService = recipe; _stepservice = stepService; }
public ShoppingListService(IUnitOfWork unitOfWork, IRecipeService iRecipeService) { _unitOfWork = unitOfWork; _iRecipeService = iRecipeService; }
public HomeController(IRecipeService recipeService) { _recipeService = recipeService; }
public GoogleTaskListsController(IGoogleTasksService taskService, IRecipeService recipeService) { GoogleTasksService = taskService; RecipesService = recipeService; }
public TagController(IRecipeService recipeService) { _recipeService = recipeService; }
public CookBookController() { _recipeService = new RecipeService(); }
public CookBookController(IRecipeService recipeService) { _recipeService = recipeService; }
public RecipesController(IRecipeService recipeService, ICategoryService categoryService, IComplexityService complexityService) { _recipeService = recipeService; _categoryService = categoryService; _complexityService = complexityService; }
public MainPageViewModel(INavigationService navigationService, IRecipeService recipeService) : base(navigationService) { Title = "Contoso Cookbook"; _recipeService = recipeService; }
public GenerateTag(IRecipeService recipeService, ADProjContext context) { _recipesService = recipeService; _context = context; }
public MyRecipesController(IUserService userService, IRecipeService recipeService) { UserService = userService; RecipeService = recipeService; }
public RecipeCatalogController(IRecipeService service, UserInformation userInformation) { this.service = service; this.userInformation = userInformation; }
public FavoriteController(IUnitOfWork unitOfWork, IRecipeService recipeService) { _unitOfWork = unitOfWork; _recipeService = recipeService; }
public DashboardController(IPlanService planService, UserManager <User> userManager, IRecipeService recipeService, IDayNameService dayNameService) { _userManager = userManager; _planService = planService; _recipeService = recipeService; _dayNameService = dayNameService; }
public PdfGeneratorController(IPdfGeneratorService pdfGeneratorService, IRecipeService service, IStepService step) { _pdfGeneratorService = pdfGeneratorService; _recipeSevice = service; _stepService = step; }
public CreateModel(IRecipeService recipeService, ICategoryService categoryService, ILogger <RecipeService> logger) : base(recipeService, categoryService, logger) { BuildCategories().GetAwaiter().GetResult(); }
public RecipesController(IRecipeService recipeService) { _recipeService = recipeService; }
public IndexModel(IRecipeService db, ITypesService dbT, IUserService dbU) { _service = db; _typesService = dbT; _userService = dbU; }
public FavoriteController(IRecipeService recipeService) { _recipeService = recipeService; }
/// <summary> /// ctor the Mighty /// </summary> public BrewSessionController(IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory, IRecipeService recipeService, IUserService userService) { this.UnitOfWorkFactory = unitOfWorkFactory; this.RecipeService = recipeService; this.UserService = userService; }
public NotFoundFilter(IRecipeService recipeService) { _recipeService = recipeService; }
public RecipeController(IRecipeService service) { _service = service; }
public PhotoController(IRecipeService recipeService) { this.recipeService = recipeService; }
/// <summary> /// ctor the Mighty /// </summary> public DashboardController(IUserService userService, IRecipeService recipeService) { this.UserService = userService; this.RecipeService = recipeService; }
/// <summary> /// ctor the Mighty /// </summary> public BrewSessionController(IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory, IRecipeService recipeService, IUserService userService) { this.UnitOfWorkFactory = unitOfWorkFactory; this.RecipeService = recipeService; this.UserService = userService; }
public Handler(IRecipeService recipeService, IRecipeRepository recipeRepository) { _recipeService = recipeService; _recipeRepository = recipeRepository; }
public RecipeController(IRecipeService recipeService) { RecipeService = recipeService; }
public IndexModel(IRecipeService recipeService) { this.recipeService = recipeService; }
public RecipesController(IAuthService authClient, IRecipeService recipeClient) { _authClient = authClient; _recipeClient = recipeClient; }
public HomeController(IRecipeService recipeService, IMeasureService measureService) { this.recipeService = recipeService; this.measureService = measureService; }
/// <summary> /// ctor the Mighty /// </summary> public BrewgrSeoSitemap(IRecipeService recipeService, IBeerStyleService beerStyleService, IUserService userService) { this.RecipeService = recipeService; this.BeerStyleService = beerStyleService; this.UserService = userService; }
public RecipesController(ADProjContext context, IRecipeService recipeService) { _context = context; _recipesService = recipeService; }