Пример #1
0
        public TaxonomyFactory(ITaxonomyProvider taxonomyProvider, IFactoryCommonServices factoryCommonServices)
            :base(factoryCommonServices)
        {
            if (taxonomyProvider == null)
                throw new ArgumentNullException("taxonomyProvider");

            TaxonomyProvider = taxonomyProvider;
        }
Пример #2
0
        public TaxonomyFactory(ITaxonomyProvider taxonomyProvider, IFactoriesFacade facade)
            : base(facade)
        {
            if (taxonomyProvider == null)
                throw new ArgumentNullException("taxonomyProvider");

            TaxonomyProvider = taxonomyProvider;
        }
        public TaxonomyFactory(ITaxonomyProvider taxonomyProvider, IFactoriesFacade facade)
            : base(facade)
        {
            if (taxonomyProvider == null)
            {
                throw new ArgumentNullException("taxonomyProvider");
            }

            TaxonomyProvider = taxonomyProvider;
        }
Пример #4
0
        public TaxonomyFactory(ITaxonomyProvider taxonomyProvider, IFactoryCommonServices factoryCommonServices)
            : base(factoryCommonServices)
        {
            if (taxonomyProvider == null)
            {
                throw new ArgumentNullException("taxonomyProvider");
            }

            TaxonomyProvider = taxonomyProvider;
        }
        public TaxonomyController(ITaxonomyProvider taxonomyProvider, ILogger logger)
        {
            if (taxonomyProvider == null)
                throw new ArgumentNullException("taxonomyProvider");

            if (logger == null)
                throw new ArgumentNullException("logger");

            TaxonomyProvider = taxonomyProvider;
            Logger = logger;
        }
Пример #6
0
        public TaxonomyController(ITaxonomyProvider taxonomyProvider, ILogger logger)
        {
            if (taxonomyProvider == null)
            {
                throw new ArgumentNullException("taxonomyProvider");
            }

            if (logger == null)
            {
                throw new ArgumentNullException("logger");
            }

            TaxonomyProvider = taxonomyProvider;
            Logger           = logger;
        }