本文整理汇总了C#中IDateTimeHelper类的典型用法代码示例。如果您正苦于以下问题:C# IDateTimeHelper类的具体用法?C# IDateTimeHelper怎么用?C# IDateTimeHelper使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IDateTimeHelper类属于命名空间,在下文中一共展示了IDateTimeHelper类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: MessageTokenProvider
public MessageTokenProvider(ILanguageService languageService,
ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
IEmailAccountService emailAccountService,
IPriceFormatter priceFormatter, ICurrencyService currencyService,IWebHelper webHelper,
IWorkContext workContext, IDownloadService downloadService,
IOrderService orderService,
StoreInformationSettings storeSettings, MessageTemplatesSettings templatesSettings,
EmailAccountSettings emailAccountSettings, CatalogSettings catalogSettings,
TaxSettings taxSettings)
{
this._languageService = languageService;
this._localizationService = localizationService;
this._dateTimeHelper = dateTimeHelper;
this._emailAccountService = emailAccountService;
this._priceFormatter = priceFormatter;
this._currencyService = currencyService;
this._webHelper = webHelper;
this._workContext = workContext;
this._downloadService = downloadService;
this._orderService = orderService;
this._storeSettings = storeSettings;
this._templatesSettings = templatesSettings;
this._emailAccountSettings = emailAccountSettings;
this._catalogSettings = catalogSettings;
this._taxSettings = taxSettings;
}
示例2: BlogController
public BlogController(IBlogService blogService,
IWorkContext workContext,
IStoreContext storeContext,
IPictureService pictureService,
ILocalizationService localizationService,
IDateTimeHelper dateTimeHelper,
IWorkflowMessageService workflowMessageService,
IWebHelper webHelper,
ICacheManager cacheManager,
ICustomerActivityService customerActivityService,
IStoreMappingService storeMappingService,
MediaSettings mediaSettings,
BlogSettings blogSettings,
LocalizationSettings localizationSettings,
CustomerSettings customerSettings,
CaptchaSettings captchaSettings)
{
this._blogService = blogService;
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._blogSettings = blogSettings;
this._localizationSettings = localizationSettings;
this._customerSettings = customerSettings;
this._captchaSettings = captchaSettings;
}
示例3: NewsController
public NewsController(INewsService newsService,
IWorkContext workContext, IPictureService pictureService, ILocalizationService localizationService,
ICustomerContentService customerContentService, IDateTimeHelper dateTimeHelper,
IWorkflowMessageService workflowMessageService, IWebHelper webHelper,
ICacheManager cacheManager, ICustomerActivityService customerActivityService,
MediaSettings mediaSettings, NewsSettings newsSettings,
LocalizationSettings localizationSettings, CustomerSettings customerSettings,
StoreInformationSettings storeInformationSettings, CaptchaSettings captchaSettings)
{
this._newsService = newsService;
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._newsSettings = newsSettings;
this._localizationSettings = localizationSettings;
this._customerSettings = customerSettings;
this._storeInformationSettings = storeInformationSettings;
this._captchaSettings = captchaSettings;
}
示例4: ScheduleTaskController
public ScheduleTaskController(IScheduleTaskService scheduleTaskService, IPermissionService permissionService, IDateTimeHelper dateTimeHelper)
{
this._scheduleTaskService = scheduleTaskService;
this._permissionService = permissionService;
this._dateTimeHelper = dateTimeHelper;
T = NullLocalizer.Instance;
}
示例5: ScheduleTaskController
public ScheduleTaskController(IScheduleTaskService scheduleTaskService, IPermissionService permissionService,
IDateTimeHelper dateTimeHelper)
{
this._scheduleTaskService = scheduleTaskService;
this._permissionService = permissionService;
this._dateTimeHelper = dateTimeHelper;
}
示例6: OrderController
public OrderController(IOrderService orderService, IWorkContext workContext,
ICurrencyService currencyService, IPriceFormatter priceFormatter,
IOrderProcessingService orderProcessingService,
IDateTimeHelper dateTimeHelper, IMeasureService measureService,
IPaymentService paymentService, ILocalizationService localizationService,
IPdfService pdfService, ICustomerService customerService,
IWorkflowMessageService workflowMessageService,
LocalizationSettings localizationSettings,
MeasureSettings measureSettings, CatalogSettings catalogSettings,
OrderSettings orderSettings, TaxSettings taxSettings, PdfSettings pdfSettings)
{
this._orderService = orderService;
this._workContext = workContext;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._dateTimeHelper = dateTimeHelper;
this._measureService = measureService;
this._paymentService = paymentService;
this._localizationService = localizationService;
this._pdfService = pdfService;
this._customerService = customerService;
this._workflowMessageService = workflowMessageService;
this._localizationSettings = localizationSettings;
this._measureSettings = measureSettings;
this._catalogSettings = catalogSettings;
this._orderSettings = orderSettings;
this._taxSettings = taxSettings;
this._pdfSettings = pdfSettings;
}
示例7: CustomerController
public CustomerController(IAuthenticationService authenticationService,
ILocalizationService localizationService,
IWorkContext workContext,
ICustomerService customerService,
ICustomerRegistrationService customerRegistrationService,
CustomerSettings customerSettings,
IAddressService addressService,
IWebHelper webHelper,
LocalizationSettings localizationSettings,
CaptchaSettings captchaSettings,
SecuritySettings securitySettings,
ExternalAuthenticationSettings externalAuthenticationSettings,
ICustomerActivityService customerActivityService,
DateTimeSettings dateTimeSettings,
IDateTimeHelper dateTimeHelper,
IGenericAttributeService genericAttributeService,
IPermissionService permissionService)
{
this._authenticationService = authenticationService;
this._localizationService = localizationService;
this._workContext = workContext;
this._customerRegistrationService = customerRegistrationService;
this._customerService = customerService;
this._customerSettings = customerSettings;
this._addressService = addressService;
this._webHelper = webHelper;
this._localizationSettings = localizationSettings;
this._captchaSettings = captchaSettings;
this._securitySettings = securitySettings;
this._externalAuthenticationSettings = externalAuthenticationSettings;
this._customerActivityService = customerActivityService;
this._dateTimeSettings = dateTimeSettings;
this._dateTimeHelper = dateTimeHelper;
this._genericAttributeService = genericAttributeService;
}
示例8: OrderController
public OrderController(IOrderService orderService,
IShipmentService shipmentService, IWorkContext workContext,
ICurrencyService currencyService, IPriceFormatter priceFormatter,
IOrderProcessingService orderProcessingService, IDateTimeHelper dateTimeHelper,
IPaymentService paymentService, ILocalizationService localizationService,
IPdfService pdfService, IShippingService shippingService,
ICountryService countryService, IProductAttributeParser productAttributeParser,
IWebHelper webHelper,
CatalogSettings catalogSettings, OrderSettings orderSettings,
TaxSettings taxSettings, PdfSettings pdfSettings,
ShippingSettings shippingSettings, AddressSettings addressSettings)
{
this._orderService = orderService;
this._shipmentService = shipmentService;
this._workContext = workContext;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._dateTimeHelper = dateTimeHelper;
this._paymentService = paymentService;
this._localizationService = localizationService;
this._pdfService = pdfService;
this._shippingService = shippingService;
this._countryService = countryService;
this._productAttributeParser = productAttributeParser;
this._webHelper = webHelper;
this._catalogSettings = catalogSettings;
this._orderSettings = orderSettings;
this._taxSettings = taxSettings;
this._pdfSettings = pdfSettings;
this._shippingSettings = shippingSettings;
this._addressSettings = addressSettings;
}
示例9: ManufacturerController
public ManufacturerController(ICategoryService categoryService, IManufacturerService manufacturerService,
IManufacturerTemplateService manufacturerTemplateService, IProductService productService,
IStoreService storeService, IStoreMappingService storeMappingService,
IUrlRecordService urlRecordService, IPictureService pictureService,
ILanguageService languageService, ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
IExportManager exportManager, IWorkContext workContext,
ICustomerActivityService customerActivityService, IPermissionService permissionService,
IDateTimeHelper dateTimeHelper,
AdminAreaSettings adminAreaSettings, CatalogSettings catalogSettings)
{
this._categoryService = categoryService;
this._manufacturerTemplateService = manufacturerTemplateService;
this._manufacturerService = manufacturerService;
this._productService = productService;
this._storeService = storeService;
this._storeMappingService = storeMappingService;
this._urlRecordService = urlRecordService;
this._pictureService = pictureService;
this._languageService = languageService;
this._localizationService = localizationService;
this._localizedEntityService = localizedEntityService;
this._exportManager = exportManager;
this._workContext = workContext;
this._customerActivityService = customerActivityService;
this._permissionService = permissionService;
this._dateTimeHelper = dateTimeHelper;
this._adminAreaSettings = adminAreaSettings;
this._catalogSettings = catalogSettings;
}
示例10: CommonController
public CommonController(IPaymentService paymentService,
IShippingService shippingService,
IShoppingCartService shoppingCartService,
ICurrencyService currencyService,
IMeasureService measureService,
ICustomerService customerService,
IUrlRecordService urlRecordService,
IWebHelper webHelper,
CurrencySettings currencySettings,
MeasureSettings measureSettings,
IDateTimeHelper dateTimeHelper,
ILanguageService languageService,
IWorkContext workContext,
IStoreContext storeContext,
IPermissionService permissionService,
ILocalizationService localizationService)
{
this._paymentService = paymentService;
this._shippingService = shippingService;
this._shoppingCartService = shoppingCartService;
this._currencyService = currencyService;
this._measureService = measureService;
this._customerService = customerService;
this._urlRecordService = urlRecordService;
this._webHelper = webHelper;
this._currencySettings = currencySettings;
this._measureSettings = measureSettings;
this._dateTimeHelper = dateTimeHelper;
this._languageService = languageService;
this._workContext = workContext;
this._storeContext = storeContext;
this._permissionService = permissionService;
this._localizationService = localizationService;
}
示例11: DiscountController
public DiscountController(IDiscountService discountService,
ILocalizationService localizationService,
ICurrencyService currencyService,
ICategoryService categoryService,
IProductService productService,
IWebHelper webHelper,
IDateTimeHelper dateTimeHelper,
ICustomerActivityService customerActivityService,
CurrencySettings currencySettings,
IPermissionService permissionService,
IWorkContext workContext,
IManufacturerService manufacturerService,
IStoreService storeService,
IVendorService vendorService,
IOrderService orderService,
IPriceFormatter priceFormatter)
{
this._discountService = discountService;
this._localizationService = localizationService;
this._currencyService = currencyService;
this._categoryService = categoryService;
this._productService = productService;
this._webHelper = webHelper;
this._dateTimeHelper = dateTimeHelper;
this._customerActivityService = customerActivityService;
this._currencySettings = currencySettings;
this._permissionService = permissionService;
this._workContext = workContext;
this._manufacturerService = manufacturerService;
this._storeService = storeService;
this._vendorService = vendorService;
this._orderService = orderService;
this._priceFormatter = priceFormatter;
}
示例12: SettingController
public SettingController(ISettingService settingService,
ICountryService countryService, IStateProvinceService stateProvinceService,
IAddressService addressService, ITaxCategoryService taxCategoryService,
ICurrencyService currencyService, IPictureService pictureService,
ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
IOrderService orderService, IEncryptionService encryptionService,
IThemeProvider themeProvider, ICustomerService customerService,
ICustomerActivityService customerActivityService, IPermissionService permissionService,
IWebHelper webHelper, IFulltextService fulltextService,
IMaintenanceService maintenanceService, IStoreService storeService,
IWorkContext workContext, IGenericAttributeService genericAttributeService)
{
this._settingService = settingService;
this._countryService = countryService;
this._stateProvinceService = stateProvinceService;
this._addressService = addressService;
this._taxCategoryService = taxCategoryService;
this._currencyService = currencyService;
this._pictureService = pictureService;
this._localizationService = localizationService;
this._dateTimeHelper = dateTimeHelper;
this._orderService = orderService;
this._encryptionService = encryptionService;
this._themeProvider = themeProvider;
this._customerService = customerService;
this._customerActivityService = customerActivityService;
this._permissionService = permissionService;
this._webHelper = webHelper;
this._fulltextService = fulltextService;
this._maintenanceService = maintenanceService;
this._storeService = storeService;
this._workContext = workContext;
this._genericAttributeService = genericAttributeService;
}
示例13: PostCommand
public PostCommand(IMessageService messageService, string userName, string text, IDateTimeHelper dateTimeHelper)
{
_userName = userName;
_text = text;
_dateTimeHelper = dateTimeHelper;
_messageService = messageService;
}
示例14: ReturnRequestController
public ReturnRequestController(IOrderService orderService,
IWorkContext workContext,
IStoreContext storeContext,
ICurrencyService currencyService,
IPriceFormatter priceFormatter,
IOrderProcessingService orderProcessingService,
ILocalizationService localizationService,
ICustomerService customerService,
IWorkflowMessageService workflowMessageService,
IDateTimeHelper dateTimeHelper,
LocalizationSettings localizationSettings,
OrderSettings orderSettings)
{
this._orderService = orderService;
this._workContext = workContext;
this._storeContext = storeContext;
this._currencyService = currencyService;
this._priceFormatter = priceFormatter;
this._orderProcessingService = orderProcessingService;
this._localizationService = localizationService;
this._customerService = customerService;
this._workflowMessageService = workflowMessageService;
this._dateTimeHelper = dateTimeHelper;
this._localizationSettings = localizationSettings;
this._orderSettings = orderSettings;
}
示例15: ScheduleTaskService
public ScheduleTaskService(IRepository<ScheduleTask> taskRepository, IDateTimeHelper dateTimeHelper)
{
this._taskRepository = taskRepository;
this._dateTimeHelper = dateTimeHelper;
T = NullLocalizer.Instance;
}