public LinkFactory(ILinkProvider linkProvider, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (linkProvider == null) throw new ArgumentNullException("linkProvier"); LinkProvider = linkProvider; }
public TaxonomyFactory(ITaxonomyProvider taxonomyProvider, IFactoryCommonServices factoryCommonServices) :base(factoryCommonServices) { if (taxonomyProvider == null) throw new ArgumentNullException("taxonomyProvider"); TaxonomyProvider = taxonomyProvider; }
public ComponentPresentationFactory(IComponentPresentationProvider componentPresentationProvider, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (componentPresentationProvider == null) throw new ArgumentNullException("componentPresentationProvider"); ComponentPresentationProvider = componentPresentationProvider; //overriding cacheAgent GetLastPublished property //CacheAgent.GetLastPublishDateCallBack = GetLastPublishedDateCallBack; }
public BinaryFactory(IBinaryProvider binaryProvider, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (binaryProvider == null) throw new ArgumentNullException("binaryProvider"); BinaryProvider = binaryProvider; //overriding cacheAgent GetLastPublished property //CacheAgent.GetLastPublishDateCallBack = GetLastPublishedDateCallBack; }
public LinkFactory(ILinkProvider linkProvider, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (linkProvider == null) { throw new ArgumentNullException("linkProvier"); } LinkProvider = linkProvider; }
public TaxonomyFactory(ITaxonomyProvider taxonomyProvider, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (taxonomyProvider == null) { throw new ArgumentNullException("taxonomyProvider"); } TaxonomyProvider = taxonomyProvider; }
public ComponentFactory( IComponentPresentationFactory componentPresentationFactory, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (componentPresentationFactory == null) throw new ArgumentNullException("componentPresentationFactory"); ComponentPresentationFactory = componentPresentationFactory; }
public ComponentFactory(IComponentPresentationFactory componentPresentationFactory, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (componentPresentationFactory == null) { throw new ArgumentNullException("componentPresentationFactory"); } ComponentPresentationFactory = componentPresentationFactory; }
public BinaryFactory(IBinaryProvider binaryProvider, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (binaryProvider == null) { throw new ArgumentNullException("binaryProvider"); } BinaryProvider = binaryProvider; //overriding cacheAgent GetLastPublished property //CacheAgent.GetLastPublishDateCallBack = GetLastPublishedDateCallBack; }
public BinaryFactory(IBinaryProvider binaryProvider, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (binaryProvider == null) { throw new ArgumentNullException("binaryProvider"); } BinaryProvider = binaryProvider; CacheValueNull = new Binary() { Title = CacheValueNullTitle }; }
public FactoryBase(IFactoryCommonServices factoryCommonServices) { if (factoryCommonServices == null) { throw new ArgumentNullException("factoryCommonServices"); } LoggerService = factoryCommonServices.Logger; PublicationResolver = factoryCommonServices.PublicationResolver; Configuration = factoryCommonServices.Configuration; CacheAgent = factoryCommonServices.CacheAgent; }
public PageFactory(IPageProvider pageProvider, IComponentPresentationFactory componentPresentationFactory, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (pageProvider == null) throw new ArgumentNullException("pageProvider"); if (componentPresentationFactory == null) throw new ArgumentNullException("componentPresentationFactory"); ComponentPresentationFactory = componentPresentationFactory; PageProvider = pageProvider; }
public PageFactory(IPageProvider pageProvider, IComponentPresentationFactory componentPresentationFactory, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (pageProvider == null) { throw new ArgumentNullException("pageProvider"); } if (componentPresentationFactory == null) { throw new ArgumentNullException("componentPresentationFactory"); } ComponentPresentationFactory = componentPresentationFactory; PageProvider = pageProvider; }
public ComponentPresentationFactory(IComponentPresentationProvider componentPresentationProvider, IFactoryCommonServices factoryCommonServices) : base(factoryCommonServices) { if (componentPresentationProvider == null) { throw new ArgumentNullException("componentPresentationProvider"); } ComponentPresentationProvider = componentPresentationProvider; //overriding cacheAgent GetLastPublished property //CacheAgent.GetLastPublishDateCallBack = GetLastPublishedDateCallBack; }