Exemple #1
0
 public ConfigSystemController(IConfigSystemServices services, ILanguageServices languageService, IMenuServices menuService, IContentServices contentService)
 {
     this._services        = services;
     this._languageService = languageService;
     this._menuService     = menuService;
     this._contentService  = contentService;
 }
Exemple #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;
 }
 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");
        }
Exemple #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;
 }
Exemple #6
0
 public DuThaoVanBanPhapLuatController(IContentServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     _services        = services;
     _languageService = languageService;
     _serviceLog      = serviceLog;
 }
 public LanguagesController(ILanguageServices languageServices)
 {
     _languageServices = languageServices;
 }
 public ExcursionOperatorController(ACTODbContext db, IExcursionServices excursionServices, ILanguageServices languageServices)
 {
     this.context           = db;
     this.excursionServices = excursionServices;
     this.languageServices  = languageServices;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #16
0
 public FileMapper(IConfiguration configuration, ILanguageServices languageServices)
 {
     this.configuration      = configuration;
     this.languageServices   = languageServices;
     this.resourceFileMapper = new ResourceFileMapper(configuration);
 }
Exemple #17
0
 public LanguageController(ILanguageServices languages)
 {
     this.languages = languages;
 }
Exemple #18
0
 public ThuTucHanhChinhController(IContentServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     _services        = services;
     _languageService = languageService;
     _serviceLog      = serviceLog;
 }
Exemple #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;
 }
Exemple #22
0
 public NewsController(IContentServices services, ILanguageServices languageService, IActionLogServices serviceLog)
 {
     _services        = services;
     _languageService = languageService;
     _serviceLog      = serviceLog;
 }
Exemple #23
0
 public Mapper(IConfiguration configuration, string featureLanguage = LanguageServices.DefaultLanguage)
 {
     this.configuration = configuration;
     this.languageServices = new LanguageServices(featureLanguage);
 }
Exemple #24
0
 public Mapper(IConfiguration configuration, ILanguageServices languageServices)
 {
     this.configuration    = configuration;
     this.languageServices = languageServices;
 }
Exemple #25
0
 public LanguagesController(ILanguageServices languageServices)
 {
     _languageServices = languageServices;
 }