Esempio n. 1
0
        /// <summary>
        /// ctor the Mighty
        /// </summary>
        public DefaultOAuthService(IFacebookConnectService facebookService, IBrewgrRepository repository, IHasher hasher, IUserService userService)
        {
            this.FacebookService = facebookService;
            this.Repository      = repository;
            this.Hasher          = hasher;
            this.UserService     = userService;

            Mapper.CreateMap <OAuthUserInfo, User>();
        }
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultOAuthService(IFacebookConnectService facebookService, IBrewgrRepository repository, IHasher hasher, IUserService userService)
		{
			this.FacebookService = facebookService;
			this.Repository = repository;
			this.Hasher = hasher;
			this.UserService = userService;

			Mapper.CreateMap<OAuthUserInfo, User>();
		}
 /// <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;
 }
		/// <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;
		}
 /// <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;
 }
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultBeerStyleService(IBrewgrRepository repository, ICachingService cachingService, IWebSettings webSettings)
 {
     this.Repository     = repository;
     this.CachingService = cachingService;
     this.WebSettings    = webSettings;
 }
Esempio n. 7
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultSearchService(IBrewgrRepository repository, IBrewgrBlogConnection brewgrBlogConnection, IBrewgrBlogRepository brewgrBlogRepository)
 {
     this.Repository           = repository;
     this.BrewgrBlogConnection = brewgrBlogConnection;
     this.BrewgrBlogRepository = brewgrBlogRepository;
 }
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultAffiliateService(IBrewgrRepository repository)
 {
     this.Repository = repository;
 }
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultBeerStyleService(IBrewgrRepository repository, ICachingService cachingService, IWebSettings webSettings)
		{
			this.Repository = repository;
			this.CachingService = cachingService;
			this.WebSettings = webSettings;
		}
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultRecipeSearchService(IBrewgrRepository repository)
		{
			this.Repository = repository;
		}
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultMarketingService(IBrewgrRepository repository, IUserResolver userResolver, IUserHostAddressResolver userHostAddressResolver)
		{
			this.Repository = repository;
			this.UserResolver = userResolver;
			this.UserHostAddressResolver = userHostAddressResolver;
		}
Esempio n. 12
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultRecipeSearchService(IBrewgrRepository repository)
 {
     this.Repository = repository;
 }
Esempio n. 13
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultAdminService(IBrewgrRepository brewgrRepository)
 {
     this.Repository = brewgrRepository;
 }
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultNotificationService(INotificationFactory notificationFactory, IBrewgrRepository repository)
 {
     this.NotificationFactory = notificationFactory;
     this.Repository          = repository;
 }
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultNotificationService(INotificationFactory notificationFactory, IBrewgrRepository repository)
		{
			this.NotificationFactory = notificationFactory;
			this.Repository = repository;
		}
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultAdminService(IBrewgrRepository brewgrRepository)
		{
			this.Repository = brewgrRepository;
		}
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultUserRelationService(IBrewgrRepository repository, INotificationService notificationService)
 {
     this.Repository          = repository;
     this.NotificationService = notificationService;
 }
Esempio n. 18
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultContentService(IBrewgrRepository repository, ICachingService cachingService)
 {
     this.Repository     = repository;
     this.CachingService = cachingService;
 }
Esempio n. 19
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultMarketingService(IBrewgrRepository repository, IUserResolver userResolver, IUserHostAddressResolver userHostAddressResolver)
 {
     this.Repository              = repository;
     this.UserResolver            = userResolver;
     this.UserHostAddressResolver = userHostAddressResolver;
 }
Esempio n. 20
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultUserService(IBrewgrRepository repository, IHasher hasher, INotificationService notificationService)
 {
     this.Repository          = repository;
     this.Hasher              = hasher;
     this.NotificationService = notificationService;
 }
Esempio n. 21
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultPartnerService(IBrewgrRepository repository, IUserResolver userResolver)
 {
     this.Repository   = repository;
     this.UserResolver = userResolver;
 }
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultUserLoginService(IBrewgrRepository repository, IHasher hasher, IUnitOfWorkFactory<BrewgrContext> unitOfWorkFactory)
		{
			this.Repository = repository;
			this.Hasher = hasher;
			this.UnitOfWorkFactory = unitOfWorkFactory;
		}
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultUserService(IBrewgrRepository repository, IHasher hasher, INotificationService notificationService)
		{
			this.Repository = repository;
			this.Hasher = hasher;
			this.NotificationService = notificationService;
		}
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultContentService(IBrewgrRepository repository, ICachingService cachingService)
		{
			this.Repository = repository;
			this.CachingService = cachingService;
		}
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultRecipeDataService(IBrewgrRepository repository, ICachingService cachingService)
 {
     this.Repository     = repository;
     this.CachingService = cachingService;
 }
Esempio n. 26
0
 /// <summary>
 /// ctor the Mighty
 /// </summary>
 public DefaultUserLoginService(IBrewgrRepository repository, IHasher hasher, IUnitOfWorkFactory <BrewgrContext> unitOfWorkFactory)
 {
     this.Repository        = repository;
     this.Hasher            = hasher;
     this.UnitOfWorkFactory = unitOfWorkFactory;
 }
		/// <summary>
		/// ctor the Mighty
		/// </summary>
		public DefaultSearchService(IBrewgrRepository repository, IBrewgrBlogConnection brewgrBlogConnection, IBrewgrBlogRepository brewgrBlogRepository)
		{
			this.Repository = repository;
		    this.BrewgrBlogConnection = brewgrBlogConnection;
		    this.BrewgrBlogRepository = brewgrBlogRepository;
		}