/// <summary> /// Initializes a new instance of the <see cref="LcboInventoryServiceAgent"/> class. /// </summary> /// <param name="pageRetrieverFactory">The page retriever factory.</param> public LcboInventoryServiceAgent( [ServiceDependency]IPageRetrieverFactory pageRetrieverFactory ) { this.pageRetriever = pageRetrieverFactory.InventoryPageRetriever; this.logWriter = EnterpriseLibraryContainer.Current.GetInstance<LogWriter>(); this.traceManager = new TraceManager(this.logWriter); }
public LcboProductServiceAgent( [ServiceDependency]IPageRetrieverFactory pageRetrieverFactory ) { this.productDetailsPageRetriever = pageRetrieverFactory.ProductDetailsPageRetriever; this.productListPageRetriever = pageRetrieverFactory.ProductListPageRetriever; this.logWriter = EnterpriseLibraryContainer.Current.GetInstance<LogWriter>(); this.traceManager = new TraceManager(this.logWriter); }
//private readonly IGeoLocationServiceAgent geolocationService; /// <summary> /// Initializes a new instance of the LcboStoresServiceAgent class. /// </summary> public LcboStoresServiceAgent( [ServiceDependency]IPageRetrieverFactory pageRetrieverFactory //, //[ServiceDependency]IGeoLocationServiceAgent geolocationService ) { this.storeDetailsPageRetriever = pageRetrieverFactory.StoreDetailsPageRetriever; this.storeListPageRetriever = pageRetrieverFactory.StoreListPageRetriever; this.logWriter = EnterpriseLibraryContainer.Current.GetInstance<LogWriter>(); this.traceManager = new TraceManager(this.logWriter); //this.geolocationService = geolocationService; }
/// <summary> /// Initializes a new instance of the <see cref="SocialLinkRepository"/> class that returns links. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> public SocialLinkRepository(IPageRetriever pageRetriever) { this.pageRetriever = pageRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="NavigationRepository"/> class. /// </summary> /// <param name="pageRetriever">The page retriever.</param> /// <param name="repositoryCacheHelper">Handles caching of retrieved objects.</param> public NavigationRepository(IPageRetriever pageRetriever, RepositoryCacheHelper repositoryCacheHelper) { this.pageRetriever = pageRetriever; this.repositoryCacheHelper = repositoryCacheHelper; }
/// <summary> /// Initializes a new instance of the <see cref="ManufacturerRepository"/> class that returns manufacturers. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> public ManufacturerRepository(IPageRetriever pageRetriever) { this.pageRetriever = pageRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="CafeRepository"/> class that returns cafes. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> public CafeRepository(IPageRetriever pageRetriever) { this.pageRetriever = pageRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="KenticoHomeRepository"/> class that returns home page sections. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> public KenticoHomeRepository(IPageRetriever pageRetriever) { this.pageRetriever = pageRetriever; }
// Gets instances of required services using dependency injection public PageTemplateCustomRoutingInitialization(IPageRetriever pagesRetriever) { this.pagesRetriever = pagesRetriever; }
// Gets instances of required services using dependency injection public PageBuilderInitializationExample(IPageRetriever pageRetriever, IPageDataContextInitializer pageDataContextInitializer) { this.pageRetriever = pageRetriever; this.pageDataContextInitializer = pageDataContextInitializer; }
/// <summary> /// Initializes a new instance of the <see cref="KenticoArticleRepository"/> class that returns articles. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> /// <param name="pageDataContextRetriever">Retriever for page data context.</param> public KenticoArticleRepository(IPageRetriever pageRetriever, IPageDataContextRetriever pageDataContextRetriever) { this.pageRetriever = pageRetriever; this.pageDataContextRetriever = pageDataContextRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="KenticoProductRepository"/> class that returns products. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> /// <param name="skuInfoProvider">Provider for <see cref="SKUInfo"/> management.</param> public KenticoProductRepository(IPageRetriever pageRetriever, ISKUInfoProvider skuInfoProvider) { this.pageRetriever = pageRetriever; this.skuInfoProvider = skuInfoProvider; }
/// <summary> /// Initializes a new instance of the <see cref="KenticoReferenceRepository"/> class. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> public KenticoReferenceRepository(IPageRetriever pageRetriever) { this.pageRetriever = pageRetriever; }
// Gets instances of required services using dependency injection public PageDataContextInitialization(IPageRetriever pageRetriever, IPageDataContextInitializer pageDataContextInitializer) { this.pageRetriever = pageRetriever; this.pageDataContextInitializer = pageDataContextInitializer; }
/// <summary> /// Initializes a new instance of the <see cref="ContactRepository"/> class that returns contact information. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> public ContactRepository(IPageRetriever pageRetriever) { this.pageRetriever = pageRetriever; }
/// <summary> /// DI Constructor /// </summary> /// <param name="pageRetriever">PageRetriever instance</param> public ListRetrievalWorker(IPageRetriever pageRetriever) { _pageRetriever = pageRetriever; }
public ShareableContentWidgetViewComponent(IPageRetriever pageRetriever, IProgressiveCache progressiveCache) { PageRetriever = pageRetriever; ProgressiveCache = progressiveCache; }
/// <summary> /// DI Constructor /// </summary> /// <param name="pageRetriever">PageRetriever instance</param> public SeasonWorker(IPageRetriever pageRetriever) { _pageRetriever = pageRetriever; }
public PageSelectorExample(IPageRetriever pagesRetriever, IComponentPropertiesRetriever componentPropertiesRetriever) { this.pagesRetriever = pagesRetriever; this.componentPropertiesRetriever = componentPropertiesRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="ProductRepository"/> class that returns products. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> /// <param name="skuInfoProvider">Provider for <see cref="SKUInfo"/> management.</param> /// <param name="repositoryCacheHelper">Handles caching of retrieved objects.</param> public ProductRepository(IPageRetriever pageRetriever, ISKUInfoProvider skuInfoProvider, RepositoryCacheHelper repositoryCacheHelper) { this.pageRetriever = pageRetriever; this.skuInfoProvider = skuInfoProvider; this.repositoryCacheHelper = repositoryCacheHelper; }
/// <summary> /// Initializes a new instance of the <see cref="KenticoBrewerRepository"/> class that returns brewers. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> public KenticoBrewerRepository(IPageRetriever pageRetriever) { this.pageRetriever = pageRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="KenticoNavigationRepository"/> class that returns navigation items. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> public KenticoNavigationRepository(IPageRetriever pageRetriever) { this.pageRetriever = pageRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="HotTipsRepository"/> class that returns hot tips. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> /// <param name="repositoryCacheHelper">Handles caching of retrieved objects.</param> public HotTipsRepository(IPageRetriever pageRetriever, RepositoryCacheHelper repositoryCacheHelper) { this.pageRetriever = pageRetriever; this.repositoryCacheHelper = repositoryCacheHelper; }
/// <summary> /// Initializes a new instance of the <see cref="AboutUsRepository"/> class that returns stories about company's strategy, history and philosophy. /// </summary> /// <param name="pageRetriever">Retriever for pages based on given parameters.</param> public AboutUsRepository(IPageRetriever pageRetriever) { this.pageRetriever = pageRetriever; }