public TridionComponentPresentationProvider(IProvidersCommonServices commonServices)
     : base(commonServices)
 {
     selectByComponentTemplateId = Configuration.SelectComponentByComponentTemplateId;
     selectByOutputFormat = Configuration.SelectComponentByOutputFormat;
     _cpFactoryList = new Dictionary<int, T.ComponentPresentationFactory>();
     _cmFactoryList = new Dictionary<int, TMeta.ComponentMetaFactory>();
 }
Beispiel #2
0
 public TridionComponentPresentationProvider(IProvidersCommonServices commonServices)
     : base(commonServices)
 {
     selectByComponentTemplateId = Configuration.SelectComponentByComponentTemplateId;
     selectByOutputFormat        = Configuration.SelectComponentByOutputFormat;
     _cpFactoryList = new Dictionary <int, T.ComponentPresentationFactory>();
     _cmFactoryList = new Dictionary <int, TMeta.ComponentMetaFactory>();
 }
        public BaseProvider(IProvidersCommonServices providersCommonServices)
        {
            if (providersCommonServices == null)
                throw new ArgumentNullException("providersCommonServices");

            LoggerService = providersCommonServices.Logger;
            PublicationResolver = providersCommonServices.PublicationResolver;
            Configuration = providersCommonServices.Configuration;

        }
        public TridionComponentPresentationProvider(IProvidersCommonServices providersCommonServices)
            : base(providersCommonServices)
        {
#pragma warning disable 618
            _selectByComponentTemplateId = Configuration.SelectComponentByComponentTemplateId;
            _selectByOutputFormat        = Configuration.SelectComponentByOutputFormat;
#pragma warning restore 618
            _cpFactoryList = new Dictionary <int, T.ComponentPresentationFactory>();
            _cmFactoryList = new Dictionary <int, TMeta.ComponentMetaFactory>();
        }
        public BaseProvider(IProvidersCommonServices providersCommonServices)
        {
            if (providersCommonServices == null)
            {
                throw new ArgumentNullException("providersCommonServices");
            }

            LoggerService       = providersCommonServices.Logger;
            PublicationResolver = providersCommonServices.PublicationResolver;
            Configuration       = providersCommonServices.Configuration;
        }
        //Temp fix: Remove after 01-01-2016; IHttpMessageHandlerFactory is registered in the DI.
        //The DI needs to be upgraded for the registeration. below code prevent a runtime error in case that the DI is not upgraded.
        public BaseProvider(IProvidersCommonServices commonServices)
        {
            if (commonServices == null)
            {
                throw new ArgumentNullException("commonServices");
            }

            Logger = commonServices.Logger;
            _httpMessageHandlerFactory = new DefaultHttpMessageHandlerFactory();
            _publicationResolver       = commonServices.PublicationResolver;
            Configuration = commonServices.Configuration;
        }
 public TridionLinkProvider(IProvidersCommonServices providersCommonServices)
     : base(providersCommonServices)
 {
 }
Beispiel #8
0
 public TridionBinaryProvider(IProvidersCommonServices commonServices, IHttpMessageHandlerFactory httpClientFactory)
     : base(commonServices, httpClientFactory)
 {
 }
Beispiel #9
0
 public TridionComponentPresentationProvider(IProvidersCommonServices commonServices, IHttpMessageHandlerFactory httpClientFactory)
     : base(commonServices, httpClientFactory)
 {
 }
        //Temp fix: Remove after 01-01-2016; IHttpMessageHandlerFactory is registered in the DI. 
        //The DI needs to be upgraded for the registeration. below code prevent a runtime error in case that the DI is not upgraded.
        public TridionBinaryProvider(IProvidersCommonServices commonServices)
            : base(commonServices)
        {

        }
        public TridionTaxonomyProvider(IProvidersCommonServices commonServices)
            : base(commonServices)
        {

        }
        //Temp fix: Remove after 01-01-2016; IHttpMessageHandlerFactory is registered in the DI. 
        //The DI needs to be upgraded for the registeration. below code prevent a runtime error in case that the DI is not upgraded.
        public TridionComponentPresentationProvider(IProvidersCommonServices commonServices)
            : base(commonServices)
        {

        }
        public TridionComponentPresentationProvider(IProvidersCommonServices commonServices, IHttpMessageHandlerFactory httpClientFactory)
            : base(commonServices, httpClientFactory)
        {

        }
Beispiel #14
0
 public TridionPageProvider(IProvidersCommonServices commonServices)
     : base(commonServices)
 {
 }
Beispiel #15
0
 //Temp fix: Remove after 01-01-2016; IHttpMessageHandlerFactory is registered in the DI.
 //The DI needs to be upgraded for the registeration. below code prevent a runtime error in case that the DI is not upgraded.
 public TridionComponentPresentationProvider(IProvidersCommonServices commonServices)
     : base(commonServices)
 {
 }
Beispiel #16
0
 public TridionBinaryProvider(IProvidersCommonServices providersCommonServices)
     : base(providersCommonServices)
 {
 }
        public TridionBinaryProvider(IProvidersCommonServices commonServices, IHttpMessageHandlerFactory httpClientFactory)
            :base(commonServices, httpClientFactory)
        {

        }
Beispiel #18
0
 public TridionTaxonomyProvider(IProvidersCommonServices providersCommonServices)
     : base(providersCommonServices)
 {
 }
        public TridionPageProvider(IProvidersCommonServices providersCommonServices)
            : base(providersCommonServices)
        {

        }
        public TridionLinkProvider(IProvidersCommonServices commonServices)
            : base(commonServices)
        {

        }