public DefaultWebHookRepository(DynamicDataStoreFactory dataStoreFactory, IContentLoader contentLoader)
 {
     _dataStoreFactory = dataStoreFactory;
     _contentLoader    = contentLoader;
     _eventTypes       = new List <EventType>();
     _tokens           = new Dictionary <string, string>();
 }
예제 #2
0
        public QueueManager(DynamicDataStoreFactory dynamicDataStoreFactory, IHandler handler)
        {
            if (dynamicDataStoreFactory == null) throw new ArgumentNullException("dynamicDataStoreFactory");
            if (handler == null) throw new ArgumentNullException("handler");

            _dynamicDataStoreFactory = dynamicDataStoreFactory;
            _handler = handler;

            _queueStore = _dynamicDataStoreFactory
                .GetStore(typeof (QueueItem));

            _errorQueueStore = _dynamicDataStoreFactory
                .GetStore(typeof(ErrorQueueItem));
        }
 public FacetUrlService(DynamicDataStoreFactory dynamicDataStoreFactory, ISynchronizedObjectInstanceCache objectInstanceCache, UrlResolver urlResolver)
 {
     _dynamicDataStoreFactory = dynamicDataStoreFactory;
     _objectInstanceCache     = objectInstanceCache;
     _urlResolver             = urlResolver;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FavoritesStore"/> class.
 /// </summary>
 public FavoritesStore(DynamicDataStoreFactory dynamicDataStoreFactory)
 {
     Validate.RequiredParameter("dynamicDataStoreFactory", dynamicDataStoreFactory);
     _dynamicDataStoreFactory = dynamicDataStoreFactory;
 }
 public PageObjectCommentRepository(PageObjectManagerFactory pageObjectManagerFactory, DynamicDataStoreFactory dynamicDataStoreFactory)
 {
     this.pageObjectManagerFactory = pageObjectManagerFactory;
     this.commentStore = dynamicDataStoreFactory.GetStore(typeof(PageComment));
 }
 public ExternalReviewLinksRepository(DynamicDataStoreFactory dataStoreFactory, ExternalReviewOptions externalReviewOptions)
 {
     _dataStoreFactory      = dataStoreFactory;
     _externalReviewOptions = externalReviewOptions;
 }
예제 #7
0
 public ExternalReviewLinksRepository(ExternalReviewLinkBuilder externalReviewLinkBuilder,
                                      DynamicDataStoreFactory dataStoreFactory)
 {
     _externalReviewLinkBuilder = externalReviewLinkBuilder;
     _dataStoreFactory          = dataStoreFactory;
 }
예제 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DatabaseConfigurationProvider"/> class.
 /// </summary>
 /// <param name="storeFactory">The store factory.</param>
 public DatabaseConfigurationProvider(DynamicDataStoreFactory storeFactory)
 {
     _storeFactory = storeFactory;
 }
 public FacetUrlService(DynamicDataStoreFactory dynamicDataStoreFactory, ISynchronizedObjectInstanceCache objectInstanceCache, UrlResolver urlResolver)
 {
     _dynamicDataStoreFactory = dynamicDataStoreFactory;
     _objectInstanceCache = objectInstanceCache;
     _urlResolver = urlResolver;
 }
예제 #10
0
 public DynamicDataStoreRepository(DynamicDataStoreFactory dynamicDataStoreFactory)
 {
     _dynamicDataStoreFactory = dynamicDataStoreFactory;
 }
 public DynamicDataStoreRatingRepository(RatingCalculator ratingCalculator, DynamicDataStoreFactory dynamicDataStoreFactory)
 {
     this.ratingCalculator = ratingCalculator;
     this.ratingStore = dynamicDataStoreFactory.GetStore(typeof(PageRating));
 }
예제 #12
0
 public DdsApprovalReviewsRepository(DynamicDataStoreFactory dataStoreFactory, IObjectSerializerFactory serializerFactory)
 {
     _dataStoreFactory  = dataStoreFactory;
     _serializerFactory = serializerFactory;
 }
예제 #13
0
 public OptinService(DynamicDataStoreFactory storeFactory, ApplicationUserManager <SiteUser> userManager, CustomerContextFacade customerContext)
 {
     _storeFactory    = storeFactory;
     _userManager     = userManager;
     _customerContext = customerContext;
 }
 public PageObjectRatingRepository(RatingCalculator ratingCalculator, PageObjectManagerFactory pageObjectManagerFactory, DynamicDataStoreFactory dynamicDataStoreFactory)
 {
     this.ratingCalculator = ratingCalculator;
     this.pageObjectManagerFactory = pageObjectManagerFactory;
     this.ratingStore = dynamicDataStoreFactory.GetStore(typeof(PageRating));
 }
 public DdsProjectEnhancementsStore(DynamicDataStoreFactory dataStoreFactory)
 {
     _dataStoreFactory = dataStoreFactory;
 }
 public ExternalReviewLinksRepository(ExternalReviewLinkBuilder externalReviewLinkBuilder, DynamicDataStoreFactory dataStoreFactory, ExternalReviewOptions externalReviewOptions)
 {
     _externalReviewLinkBuilder = externalReviewLinkBuilder;
     _dataStoreFactory          = dataStoreFactory;
     _externalReviewOptions     = externalReviewOptions;
 }