Beispiel #1
0
 public ConfigSystemController(IConfigSystemServices services, ILanguageServices languageService, IMenuServices menuService, IContentServices contentService)
 {
     this._services        = services;
     this._languageService = languageService;
     this._menuService     = menuService;
     this._contentService  = contentService;
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="employeeServices"></param>
 /// <param name="languageServices"></param>
 public LanguageController(IEmployeeServices employeeServices, ILanguageServices languageServices, ILogger <LanguageController> logger, ApplicationDbContext applicationDbContext)
 {
     _languageServices = languageServices;
     _employeeServices = employeeServices;
     _logger           = logger;
     _db = applicationDbContext;
 }
Beispiel #3
0
 public DefaultController(IContentServices services, IMenuServices menuServices, IConfigSystemServices configSystemServices, IVideoServices videoServices, ILanguageServices languageServices)
 {
     this._services             = services;
     this._menuServices         = menuServices;
     this._configSystemServices = configSystemServices;
     this._videoServices        = videoServices;
     this._languageServices     = languageServices;
 }
        public void GetLanguageServicesForLanguage_WithNullLanguage_ReturnsLanguageServicesForEnglish()
        {
            var languageServicesRegistry = new LanguageServicesRegistry();

            ILanguageServices languageServices = languageServicesRegistry.GetLanguageServicesForLanguage(null);

            Check.That(languageServices.Language).IsEqualTo("en");
        }
Beispiel #5
0
 public HomeController(ICategoryVideoServices categoryVideoServices, IFeedbackServices feedbackServices, IContentServices services, IMenuServices menuServices, IConfigSystemServices configSystemServices, IVideoServices videoServices, ILanguageServices languageService, IContactServices contactServices, ILienketWebServices lienKetServices)
 {
     this._services              = services;
     this._menuServices          = menuServices;
     this._configSystemServices  = configSystemServices;
     this._videoServices         = videoServices;
     this._languageService       = languageService;
     this._feedbackServices      = feedbackServices;
     this._categoryVideoServices = categoryVideoServices;
     this._contactServices       = contactServices;
     this._lienKetServices       = lienKetServices;
 }
Beispiel #6
0
 public DuThaoVanBanPhapLuatController(IContentServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     _services        = services;
     _languageService = languageService;
     _serviceLog      = serviceLog;
 }
Beispiel #7
0
 public LanguagesController(ILanguageServices languageServices)
 {
     _languageServices = languageServices;
 }
 public ExcursionOperatorController(ACTODbContext db, IExcursionServices excursionServices, ILanguageServices languageServices)
 {
     this.context           = db;
     this.excursionServices = excursionServices;
     this.languageServices  = languageServices;
 }
Beispiel #9
0
 public MenuController(IMenuServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     this._services        = services;
     this._languageService = languageService;
     this._serviceLog      = serviceLog;
 }
 public LocalizedResourcesController(ILanguageServices languageServices)
 {
     _languageServices = languageServices;
 }
 public ThongTinDiSanVanHoaController(IContentServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     _services        = services;
     _languageService = languageService;
     _serviceLog      = serviceLog;
 }
Beispiel #12
0
 public BannerController(IContentServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     this._services        = services;
     this._languageService = languageService;
     this._serviceLog      = serviceLog;
 }
 public WordBackgroundFormatter(WordTableFormatter wordTableFormatter, ILanguageServices languageServices)
 {
     this.wordTableFormatter = wordTableFormatter;
     this.languageServices   = languageServices;
 }
 public LocalizedResourcesController(ILanguageServices languageServices)
 {
     _languageServices = languageServices;
 }
 public AnPhamTaiLieuController(IContentServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     this._services        = services;
     this._languageService = languageService;
     this._serviceLog      = serviceLog;
 }
Beispiel #16
0
 public FileMapper(IConfiguration configuration, ILanguageServices languageServices)
 {
     this.configuration      = configuration;
     this.languageServices   = languageServices;
     this.resourceFileMapper = new ResourceFileMapper(configuration);
 }
Beispiel #17
0
 public LanguageController(ILanguageServices languages)
 {
     this.languages = languages;
 }
Beispiel #18
0
 public ThuTucHanhChinhController(IContentServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     _services        = services;
     _languageService = languageService;
     _serviceLog      = serviceLog;
 }
Beispiel #19
0
 public Mapper(IConfiguration configuration, string featureLanguage = LanguageServices.DefaultLanguage)
 {
     this.configuration    = configuration;
     this.languageServices = new LanguageServices(featureLanguage);
 }
 public ExcursionServices(ACTODbContext context, ILanguageServices languageServices)
 {
     this.languageServices = languageServices;
     this.context          = context;
 }
 public WordBackgroundFormatter(WordTableFormatter wordTableFormatter, ILanguageServices languageServices)
 {
     this.wordTableFormatter = wordTableFormatter;
     this.languageServices = languageServices;
 }
Beispiel #22
0
 public NewsController(IContentServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     _services        = services;
     _languageService = languageService;
     _serviceLog      = serviceLog;
 }
Beispiel #23
0
 public Mapper(IConfiguration configuration, string featureLanguage = LanguageServices.DefaultLanguage)
 {
     this.configuration = configuration;
     this.languageServices = new LanguageServices(featureLanguage);
 }
Beispiel #24
0
 public Mapper(IConfiguration configuration, ILanguageServices languageServices)
 {
     this.configuration    = configuration;
     this.languageServices = languageServices;
 }
Beispiel #25
0
 public LanguagesController(ILanguageServices languageServices)
 {
     _languageServices = languageServices;
 }