コード例 #1
0
        // GET: Home

        public HomeController(
            IRepository <CurrencyRecord> currencyRepository,
            IRepository <OrderStatusRecord> orderStatusRepository,
            IOrderService orderService,
            ICampaignService campaignService,
            IShapeFactory shapeFactory,
            IContentManager contentManager,
            ISiteService siteService,
            IPayoutService payoutService,
            INotifier notifierService,
            ITeeyootMessagingService teeyootMessagingService,
            IWorkContextAccessor workContextAccessor,
            IExportExcelService exportexcelservice,
            IRepository <ProductColorRecord> Colors,
            IRepository <ProductSizeRecord> Sizes,
            IPriceConversionService priceConversationService
            )
        {
            _currencyRepository      = currencyRepository;
            _orderStatusRepository   = orderStatusRepository;
            _orderService            = orderService;
            _campaignService         = campaignService;
            _contentManager          = contentManager;
            _siteService             = siteService;
            _payoutService           = payoutService;
            _notifierService         = notifierService;
            _teeyootMessagingService = teeyootMessagingService;
            Shape = shapeFactory;
            _exportexcelservice = exportexcelservice;
            T = NullLocalizer.Instance;
            _workContextAccessor = workContextAccessor;
            _sizes  = Sizes;
            _colors = Colors;
            _priceConversationService = priceConversationService;
        }
コード例 #2
0
        public AdminFeaturedCampaignsController(ISiteService siteService,
                                                IShapeFactory shapeFactory,
                                                IOrchardServices services,
                                                ICampaignService campaignService,
                                                IOrderService orderService,
                                                ITeeyootMessagingService teeyootMessagingService,
                                                IRepository <CurrencyRecord> currencyRepository,
                                                IWorkContextAccessor workContextAccessor,
                                                IExportExcelService ExportToExcel,
                                                IRepository <UserPart> Users
                                                )
        {
            _siteService             = siteService;
            _campaignService         = campaignService;
            _orderService            = orderService;
            _teeyootMessagingService = teeyootMessagingService;
            _currencyRepository      = currencyRepository;
            Shape    = shapeFactory;
            Services = services;
            Logger   = NullLogger.Instance;

            _workContextAccessor = workContextAccessor;
            _exportToExel        = ExportToExcel;
            _users = Users;
        }
コード例 #3
0
        public ExcelExportController(
            IExportExcelService exportExcelService

            )
        {
            _exportExcelService = exportExcelService;
        }
コード例 #4
0
 public BaseExcel(IExcelService excelService)
 {
     importExcelService = excelService.Import();
     exportExcelService = excelService.Export();
 }
コード例 #5
0
 public BaseExcel(IExcelService excelService)
 {
     importExcelService = excelService.Import();
     exportExcelService = excelService.Export();
     readFileService    = excelService.ReadFile("");
 }