コード例 #1
0
 public HomeController(IHostingEnvironment env, ICustomerService customerService, IPermsService permsService, IBalanceService balanceService, IBillingDetailsService billingDetailsService)
 {
     _env                   = env;
     _customerService       = customerService;
     _permsService          = permsService;
     _balanceService        = balanceService;
     _billingDetailsService = billingDetailsService;
 }
コード例 #2
0
        public PermissionsViewModel(IDialogsService dialogsService, IPermsService permissionsService, INavigationService navigationService)
            : base(navigationService)
        {
            Title = "Permissions";

            this.permissionsService = permissionsService;
            this.dialogsService     = dialogsService;
            InitializePermissions();
        }
コード例 #3
0
ファイル: MainViewModel.cs プロジェクト: Jarczyslaw/JToolbox
        public MainViewModel(ILoggerService loggingService, IAppCore appCore, IDialogsService dialogsService, IPermsService permissionsService, INavigationService navigationService)
            : base(navigationService)
        {
            Title = "Main Page";

            this.appCore            = appCore;
            this.dialogsService     = dialogsService;
            this.permissionsService = permissionsService;
            this.loggingService     = loggingService;

            DeviceId = "DeviceID: " + appCore.DeviceId;
            LogPath  = "Log path: " + appCore.LogPath;
        }