当前位置: 首页>>代码示例>>C#>>正文


C# Media.MediaSettings类代码示例

本文整理汇总了C#中Nop.Core.Domain.Media.MediaSettings的典型用法代码示例。如果您正苦于以下问题:C# MediaSettings类的具体用法?C# MediaSettings怎么用?C# MediaSettings使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


MediaSettings类属于Nop.Core.Domain.Media命名空间,在下文中一共展示了MediaSettings类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: mobSocialApiController

 public mobSocialApiController(IPermissionService permissionService,
     IWorkContext workContext, AdminAreaSettings adminAreaSettings, ILocalizationService localizationService,
     IPictureService pictureService, IMobSocialService socialNetworkService, ICustomerService customerService,
     ICustomerAlbumPictureService customerAlbumPictureService, mobSocialSettings mobSocialSettings, MediaSettings mediaSettings, CustomerSettings customerSettings, 
     ForumSettings forumSettings, RewardPointsSettings rewardPointsSettings, OrderSettings orderSettings,
      IStoreContext storeContext, IWebHelper webHelper, IUrlRecordService urlRecordService, IRepository<UrlRecord> urlRecordRepository,
     ICustomerVideoAlbumService customerVideoAlbumService, CustomerProfileViewService customerProfileViewService)
 {
     _permissionService = permissionService;
     _workContext = workContext;
     _adminAreaSettings = adminAreaSettings;
     _localizationService = localizationService;
     _pictureService = pictureService;
     _socialNetworkService = socialNetworkService;
     _customerService = customerService;
     _customerAlbumPictureService = customerAlbumPictureService;
     _mobSocialSettings = mobSocialSettings;
     _mediaSettings = mediaSettings;
     _customerSettings = customerSettings;
     _forumSettings = forumSettings;
     _rewardPointsSettings = rewardPointsSettings;
     _orderSettings = orderSettings;
     _storeContext = storeContext;
     _webHelper = webHelper;
     _urlRecordService = urlRecordService;
     _urlRecordRepository = urlRecordRepository;
     _customerVideoAlbumService = customerVideoAlbumService;
     _customerProfileViewService = customerProfileViewService;
 }
开发者ID:Console-Byte,项目名称:mobsocial,代码行数:29,代码来源:mobSocialApiController.cs

示例2: NewsController

        public NewsController(INewsService newsService, 
            IWorkContext workContext, IStoreContext storeContext, 
            IPictureService pictureService, ILocalizationService localizationService,
            IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
            ICacheManager cacheManager, ICustomerActivityService customerActivityService,
            IStoreMappingService storeMappingService,
            MediaSettings mediaSettings, NewsSettings newsSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
            CaptchaSettings captchaSettings)
        {
            this._newsService = newsService;
            this._workContext = workContext;
            this._storeContext = storeContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;
            this._storeMappingService = storeMappingService;

            this._mediaSettings = mediaSettings;
            this._newsSettings = newsSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._captchaSettings = captchaSettings;
        }
开发者ID:aleks279,项目名称:atrend-test,代码行数:29,代码来源:NewsController.cs

示例3: BlogController

        public BlogController(IBlogService blogService, 
            IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
            ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
            IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
            ICacheManager cacheManager, ICustomerActivityService customerActivityService,
            MediaSettings mediaSettings, BlogSettings blogSettings,
            LocalizationSettings localizationSettings, CustomerSettings customerSettings,
            StoreInformationSettings storeInformationSettings, CaptchaSettings captchaSettings)
        {
            this._blogService = blogService;
            this._workContext = workContext;
            this._pictureService = pictureService;
            this._localizationService = localizationService;
            this._customerContentService = customerContentService;
            this._dateTimeHelper = dateTimeHelper;
            this._workflowMessageService = workflowMessageService;
            this._webHelper = webHelper;
            this._cacheManager = cacheManager;
            this._customerActivityService = customerActivityService;

            this._mediaSettings = mediaSettings;
            this._blogSettings = blogSettings;
            this._localizationSettings = localizationSettings;
            this._customerSettings = customerSettings;
            this._storeInformationSettings = storeInformationSettings;
            this._captchaSettings = captchaSettings;
        }
开发者ID:priceLiu,项目名称:MulitNop,代码行数:27,代码来源:BlogController.cs

示例4: VendorController

        public VendorController(IWorkContext workContext,
            ILocalizationService localizationService,
            ICustomerService customerService,
            IWorkflowMessageService workflowMessageService,
            IVendorService vendorService,
            IUrlRecordService urlRecordService,
            IPictureService pictureService,
            LocalizationSettings localizationSettings,
            VendorSettings vendorSettings,
            CaptchaSettings captchaSettings,
            MediaSettings mediaSettings)
        {
            this._workContext = workContext;
            this._localizationService = localizationService;
            this._customerService = customerService;
            this._workflowMessageService = workflowMessageService;
            this._vendorService = vendorService;
            this._urlRecordService = urlRecordService;
            this._pictureService = pictureService;

            this._localizationSettings = localizationSettings;
            this._vendorSettings = vendorSettings;
            this._captchaSettings = captchaSettings;
            this._mediaSettings = mediaSettings;
        }
开发者ID:RobinHoody,项目名称:nopCommerce,代码行数:25,代码来源:VendorController.cs

示例5: PictureService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="pictureRepository">Picture repository</param>
 /// <param name="productPictureRepository">Product picture repository</param>
 /// <param name="settingService">Setting service</param>
 /// <param name="webHelper">Web helper</param>
 /// <param name="mediaSettings">Media settings</param>
 public PictureService(IRepository<Picture> pictureRepository,
     IRepository<ProductPicture> productPictureRepository,
     ISettingService settingService, IWebHelper webHelper,
     MediaSettings mediaSettings)
 {
     this._pictureRepository = pictureRepository;
     this._productPictureRepository = productPictureRepository;
     this._settingService = settingService;
     this._webHelper = webHelper;
     this._mediaSettings = mediaSettings;
 }
开发者ID:pquic,项目名称:qCommerce,代码行数:19,代码来源:PictureService.cs

示例6: GalleryService

 public GalleryService(IRepository<Product> productRepository, IPictureService pictureService, ICacheManager cacheManager, MediaSettings mediaSettings, ILocalizationService localizationService, IWorkContext workContext, IWebHelper webHelper, IStoreContext storeContext)
 {
     _productRepository = productRepository;
     _pictureService = pictureService;
     _cacheManager = cacheManager;
     _mediaSettings = mediaSettings;
     _localizationService = localizationService;
     _workContext = workContext;
     _webHelper = webHelper;
     _storeContext = storeContext;
 }
开发者ID:kolnago,项目名称:AlterDeco,代码行数:11,代码来源:GalleryService.cs

示例7: PictureService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="pictureRepository">Picture repository</param>
 /// <param name="productPictureRepository">Product picture repository</param>
 /// <param name="settingService">Setting service</param>
 /// <param name="webHelper">Web helper</param>
 /// <param name="mediaSettings">Media settings</param>
 /// <param name="httpContext">HTTP context</param>
 public PictureService(IRepository<Picture> pictureRepository,
     IRepository<ProductPicture> productPictureRepository,
     ISettingService settingService, IWebHelper webHelper,
     MediaSettings mediaSettings, HttpContextBase httpContext)
 {
     this._pictureRepository = pictureRepository;
     this._productPictureRepository = productPictureRepository;
     this._settingService = settingService;
     this._webHelper = webHelper;
     this._mediaSettings = mediaSettings;
     this._httpContext = httpContext;
 }
开发者ID:cmcginn,项目名称:StoreFront,代码行数:21,代码来源:PictureService.cs

示例8: PictureService

 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="pictureRepository">Picture repository</param>
 /// <param name="productPictureRepository">Product picture repository</param>
 /// <param name="settingService">Setting service</param>
 /// <param name="webHelper">Web helper</param>
 /// <param name="logger">Logger</param>
 /// <param name="eventPublisher">Event publisher</param>
 /// <param name="mediaSettings">Media settings</param>
 public PictureService(IRepository<Picture> pictureRepository,
     IRepository<ProductPicture> productPictureRepository,
     ISettingService settingService, IWebHelper webHelper,
     ILogger logger, IEventPublisher eventPublisher,
     MediaSettings mediaSettings)
 {
     this._pictureRepository = pictureRepository;
     this._productPictureRepository = productPictureRepository;
     this._settingService = settingService;
     this._webHelper = webHelper;
     this._logger = logger;
     this._eventPublisher = eventPublisher;
     this._mediaSettings = mediaSettings;
 }
开发者ID:aleks279,项目名称:atrend-test,代码行数:24,代码来源:PictureService.cs

示例9: AzurePictureService

        public AzurePictureService(IRepository<Picture> pictureRepository,
            IRepository<ProductPicture> productPictureRepository,
            IRepository<Product> productRepository,
            ISettingService settingService,
            IWebHelper webHelper,
            ILogger logger,
            IDbContext dbContext,
            IEventPublisher eventPublisher,
            MediaSettings mediaSettings,
            NopConfig config)
            : base(pictureRepository,
                productPictureRepository,
                productRepository,
                settingService,
                webHelper,
                logger,
                dbContext,
                eventPublisher,
                mediaSettings)
        {
            this._config = config;

            if (String.IsNullOrEmpty(_config.AzureBlobStorageConnectionString))
                throw new Exception("Azure connection string for BLOB is not specified");
            if (String.IsNullOrEmpty(_config.AzureBlobStorageContainerName))
                throw new Exception("Azure container name for BLOB is not specified");
            if (String.IsNullOrEmpty(_config.AzureBlobStorageEndPoint))
                throw new Exception("Azure end point for BLOB is not specified");

            _storageAccount = CloudStorageAccount.Parse(_config.AzureBlobStorageConnectionString);
            if (_storageAccount == null)
                throw new Exception("Azure connection string for BLOB is not wrong");

            //should we do it for each HTTP request?
            blobClient = _storageAccount.CreateCloudBlobClient();
            BlobContainerPermissions containerPermissions = new BlobContainerPermissions();
            containerPermissions.PublicAccess = BlobContainerPublicAccessType.Blob;
            //container.SetPermissions(containerPermissions);
            container_thumb = blobClient.GetContainerReference(_config.AzureBlobStorageContainerName);
            container_thumb.CreateIfNotExists();
            container_thumb.SetPermissions(containerPermissions);
        }
开发者ID:shmoaslam,项目名称:dezinecorp,代码行数:42,代码来源:AzurePictureService.cs

示例10: ProfileController

 public ProfileController(IForumService forumService,
     ILocalizationService localizationService,
     IPictureService pictureService,
     ICountryService countryService,
     ICustomerService customerService,
     IDateTimeHelper dateTimeHelper,
     ForumSettings forumSettings,
     CustomerSettings customerSettings,
     MediaSettings mediaSettings)
 {
     this._forumService = forumService;
     this._localizationService = localizationService;
     this._pictureService = pictureService;
     this._countryService = countryService;
     this._customerService = customerService;
     this._dateTimeHelper = dateTimeHelper;
     this._forumSettings = forumSettings;
     this._customerSettings = customerSettings;
     this._mediaSettings = mediaSettings;
 }
开发者ID:pquic,项目名称:qCommerce,代码行数:20,代码来源:ProfileController.cs

示例11: ImportManager

 public ImportManager(IProductService productService,
     ICategoryService categoryService,
     IManufacturerService manufacturerService,
     IPictureService pictureService,
     IUrlRecordService urlRecordService,
     IStoreContext storeContext,
     INewsLetterSubscriptionService newsLetterSubscriptionService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     IEncryptionService encryptionService,
     IDataProvider dataProvider,
     MediaSettings mediaSettings,
     IVendorService vendorService,
     IProductTemplateService productTemplateService,
     IShippingService shippingService,
     ITaxCategoryService taxCategoryService,
     IMeasureService measureService,
     IProductAttributeService productAttributeService,
     CatalogSettings catalogSettings)
 {
     this._productService = productService;
     this._categoryService = categoryService;
     this._manufacturerService = manufacturerService;
     this._pictureService = pictureService;
     this._urlRecordService = urlRecordService;
     this._storeContext = storeContext;
     this._newsLetterSubscriptionService = newsLetterSubscriptionService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._encryptionService = encryptionService;
     this._dataProvider = dataProvider;
     this._mediaSettings = mediaSettings;
     this._vendorService = vendorService;
     this._productTemplateService = productTemplateService;
     this._shippingService = shippingService;
     this._taxCategoryService = taxCategoryService;
     this._measureService = measureService;
     this._productAttributeService = productAttributeService;
     this._catalogSettings = catalogSettings;
 }
开发者ID:RobinHoody,项目名称:nopCommerce,代码行数:40,代码来源:ImportManager.cs

示例12: CustomerProfileApiController

 public CustomerProfileApiController(CustomerProfileService customerProfileService,
     CustomerProfileViewService customerProfileViewService,
     ICustomerService customerService,
     IMobSocialService mobSocialService,
     ICustomerFavoriteSongService customerFavoriteSongService,
     IMusicService musicService,
     IWorkContext workContext, IFriendService friendService, IPictureService pictureService, mobSocialSettings mobSocialSettings, MediaSettings mediaSettings, IGenericAttributeService genericAttributeService, ICustomerFollowService customerFollowService)
 {
     _customerProfileService = customerProfileService;
     _customerProfileViewService = customerProfileViewService;
     _customerService = customerService;
     _customerFavoriteSongService = customerFavoriteSongService;
     _mobSocialService = mobSocialService;
     _musicService = musicService;
     _workContext = workContext;
     _friendService = friendService;
     _pictureService = pictureService;
     _mobSocialSettings = mobSocialSettings;
     _mediaSettings = mediaSettings;
     _genericAttributeService = genericAttributeService;
     _customerFollowService = customerFollowService;
 }
开发者ID:Console-Byte,项目名称:mobsocial,代码行数:22,代码来源:CustomerProfileApiController.cs

示例13: WidgetsCustomBestSellerController

 public WidgetsCustomBestSellerController(IWorkContext workContext,
     IStoreContext storeContext,
     IStoreService storeService, 
     IPictureService pictureService,
     ISettingService settingService,
     ICacheManager cacheManager,
     ILocalizationService localizationService, CatalogSettings catalogSettings, IProductService productService, IOrderReportService orderReportService, IAclService aclService, IStoreMappingService storeMappingService, IWebHelper webHelper, MediaSettings mediaSettings)
 {
     this._workContext = workContext;
     this._storeContext = storeContext;
     this._storeService = storeService;
     this._pictureService = pictureService;
     this._settingService = settingService;
     this._cacheManager = cacheManager;
     this._localizationService = localizationService;
     _catalogSettings = catalogSettings;
     _productService = productService;
     _orderReportService = orderReportService;
     _aclService = aclService;
     _storeMappingService = storeMappingService;
     _webHelper = webHelper;
     _mediaSettings = mediaSettings;
 }
开发者ID:phatnguyen81,项目名称:NakeDearThorganics,代码行数:23,代码来源:WidgetsCustomBestSellerController.cs

示例14: BusinessPageApiController

 public BusinessPageApiController(IForumService forumService, ILocalizationService localizationService,
     IPictureService pictureService, ICountryService countryService,
     ICustomerService customerService, IDateTimeHelper dateTimeHelper,
     ForumSettings forumSettings, CustomerSettings customerSettings,
     MediaSettings mediaSettings, IBusinessPageService businessPageService,
     mobSocialSettings mobSocialSettings, IEventPageAttendanceService eventPageAttendanceService,
     IMobSocialService mobSocialService, IWorkContext workContext, IStateProvinceService stateProvinceService)
 {
     _localizationService = localizationService;
     _pictureService = pictureService;
     _countryService = countryService;
     _customerService = customerService;
     _dateTimeHelper = dateTimeHelper;
     _forumSettings = forumSettings;
     _customerSettings = customerSettings;
     _mediaSettings = mediaSettings;
     _businessPageService = businessPageService;
     _eventPageAttendanceService = eventPageAttendanceService;
     _mobSocialSettings = mobSocialSettings;
     _mobSocialService = mobSocialService;
     _workContext = workContext;
     _stateProvinceService = stateProvinceService;
 }
开发者ID:mobsoftware,项目名称:mobsocial,代码行数:23,代码来源:BusinessPageApiController.cs

示例15: EventPageController

 public EventPageController(IForumService forumService, ILocalizationService localizationService,
     IPictureService pictureService, ICountryService countryService,
     ICustomerService customerService, IDateTimeHelper dateTimeHelper,
     ForumSettings forumSettings, CustomerSettings customerSettings,
     MediaSettings mediaSettings, IEventPageService eventPageService,
     mobSocialSettings mobSocialSettings, IEventPageAttendanceService eventPageAttendanceService,
     IMobSocialService mobSocialService, IWorkContext workContext)
 {
     _forumService = forumService;
     _localizationService = localizationService;
     _pictureService = pictureService;
     _countryService = countryService;
     _customerService = customerService;
     _dateTimeHelper = dateTimeHelper;
     _forumSettings = forumSettings;
     _customerSettings = customerSettings;
     _mediaSettings = mediaSettings;
     _eventPageService = eventPageService;
     _eventPageAttendanceService = eventPageAttendanceService;
     _mobSocialSettings = mobSocialSettings;
     _mobSocialService = mobSocialService;
     _workContext = workContext;
 }
开发者ID:Console-Byte,项目名称:mobsocial,代码行数:23,代码来源:EventPageController.cs


注:本文中的Nop.Core.Domain.Media.MediaSettings类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。