當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。