コード例 #1
0
 /// <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;
 }
コード例 #2
0
		/// <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;
		}
コード例 #3
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultSendToShopService(IBrewgrRepository repository, IPartnerIdResolver partnerIdResolver, IPartnerService partnerService,
                                 IUserService userService, IStringCryptoService stringCryptoService, IWebSettings webSettings, IEmailSender emailSender,
                                 IRecipeDataService recipeDataService, ISendToShopEmailMessageFactory sendToShopEmailMessageFactory)
 {
     this.Repository                    = repository;
     this.PartnerIdResolver             = partnerIdResolver;
     this.PartnerService                = partnerService;
     this.UserService                   = userService;
     this.StringCryptoService           = stringCryptoService;
     this.WebSettings                   = webSettings;
     this.EmailSender                   = emailSender;
     this.RecipeDataService             = recipeDataService;
     this.SendToShopEmailMessageFactory = sendToShopEmailMessageFactory;
 }
コード例 #4
0
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultSendToShopService(IBrewgrRepository repository, IPartnerIdResolver partnerIdResolver, IPartnerService partnerService, 
			IUserService userService, IStringCryptoService stringCryptoService, IWebSettings webSettings, IEmailSender emailSender,
			IRecipeDataService recipeDataService, ISendToShopEmailMessageFactory sendToShopEmailMessageFactory)
		{
			this.Repository = repository;
			this.PartnerIdResolver = partnerIdResolver;
			this.PartnerService = partnerService;
			this.UserService = userService;
			this.StringCryptoService = stringCryptoService;
			this.WebSettings = webSettings;
			this.EmailSender = emailSender;
			this.RecipeDataService = recipeDataService;
			this.SendToShopEmailMessageFactory = sendToShopEmailMessageFactory;
		}
コード例 #5
0
 /// <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;
 }
コード例 #6
0
		/// <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;
		}
コード例 #7
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultRecipeService(IBrewgrRepository repository, ICachingService cachingService, IUserResolver userResolver,
                             IRecipeDataService recipeDataService, IBeerStyleService beerStyleService, IPartnerIdResolver partnerIdResolver, IPartnerService partnerService,
                             IIngredientCategorizer ingredientCategorizer, IDataContextActivationInfo <BrewgrContext> dataContextActivationInfo, IUserService userService,
                             ISendToShopService sendToShopService)
 {
     this.Repository                = repository;
     this.CachingService            = cachingService;
     this.UserResolver              = userResolver;
     this.RecipeDataService         = recipeDataService;
     this.BeerStyleService          = beerStyleService;
     this.PartnerIdResolver         = partnerIdResolver;
     this.PartnerService            = partnerService;
     this.IngredientCategorizer     = ingredientCategorizer;
     this.DataContextActivationInfo = dataContextActivationInfo;
     this.UserService               = userService;
     this.SendToShopService         = sendToShopService;
 }