Exemplo n.º 1
0
 public LanguageResource(
     ILanguageDecision languageDecision,
     ICultureInfo cultureInfo,
     IResourceManager resourceManager)
 {
     LanguageDecision = languageDecision;
     CultureInfo      = cultureInfo;
     ResourceManager  = resourceManager;
 }
Exemplo n.º 2
0
 public LoginViewModel(IDialogService dia, IUserSettings user, IWebSevices web,
                       IConnection connect, ICultureInfo culture, IRepository repo)
 {
     dialogService  = dia;
     userService    = user;
     webService     = web;
     connectService = connect;
     cultureService = culture;
     repoService    = repo;
     ShowPassword   = false;
 }
Exemplo n.º 3
0
        public SignUpViewModel(IUserSettings user, IWebSevices web, ICultureInfo culture, IDialogService dia,
                               IConnection connect)
        {
            userServices      = user;
            webServices       = web;
            cultureServices   = culture;
            diaServices       = dia;
            connectionService = connect;

            ShowPasswords = true;
        }
Exemplo n.º 4
0
 public ThemeService(
     ICultureInfo cultureInfo,
     IFileSystem fileSystem,
     IHttpServerUtility httpServerUtility,
     IProfileLogger profileLogger)
 {
     _cultureInfo       = cultureInfo;
     _fileSystem        = fileSystem;
     _httpServerUtility = httpServerUtility;
     _profileLogger     = profileLogger;
 }
Exemplo n.º 5
0
        public JourneysViewModel(IWebSevices web, IConnection connect, IRepository repo, IUserSettings user,
                                 ICultureInfo cult, ILocation loc, ISockets sock) : base(loc, repo, sock)
        {
            connectService = connect;
            webService     = web;
            repoService    = repo;
            userService    = user;
            cultureInfo    = cult;

            JourneyType    = JourneyTypes.All;
            SortedJourneys = new ObservableCollection <JourneyDetails>();
            Journeys       = repoService.GetList <DBJourneyModel>();
        }
Exemplo n.º 6
0
        public ExpensesViewModel(IConnection con, IUserSettings user, IWebSevices web, IExpenses exp,
                                 IRepository repo, ICultureInfo cult, ILocation loc, ISockets sock) : base(loc, repo, sock)
        {
            webService      = web;
            settingsService = user;
            connectService  = con;
            expenseService  = exp;
            repoService     = repo;
            cultureService  = cult;

            ExportType = ExpenseTypes.SelectedPeriod;
            Journeys   = repoService.GetList <DBJourneyModel>();
        }