public RegisterPageViewModel(IUserDialogs userDialogs,
                              INavigationService navigationService,
                              IEdgeProvisioningService edgeProvisioningService,
                              IWalletAppConfiguration walletconfiguration,
                              IOptions <AgentOptions> options,
                              CloudWalletService cloudWalletService) : base(nameof(RegisterPageViewModel), userDialogs, navigationService)
 {
     _edgeProvisioningService = edgeProvisioningService;
     _walletConfiguration     = walletconfiguration;
     _options            = options.Value;
     _cloudWalletService = cloudWalletService;
     Title = "Register Wallet";
 }
 public NotificationViewModel(IUserDialogs userDialogs,
                              INavigationService navigationService,
                              IAgentProvider agentProvider,
                              ICredentialService credentialService,
                              IConnectionService connectionService,
                              IMessageService messageService,
                              CloudWalletService cloudWalletService,
                              IProofService proofService,
                              ILifetimeScope scope,
                              IEventAggregator eventAggregator) : base(nameof(NotificationViewModel), userDialogs, navigationService)
 {
     _agentProvider      = agentProvider;
     _credentialService  = credentialService;
     _proofService       = proofService;
     _connectionService  = connectionService;
     _cloudWalletService = cloudWalletService;
     _scope           = scope;
     _eventAggregator = eventAggregator;
     Title            = "Notification";
 }
Exemple #3
0
 public MainViewModel(
     IUserDialogs userDialogs,
     INavigationService navigationService,
     ConnectionsViewModel connectionsViewModel,
     CredentialsViewModel credentialsViewModel,
     NotificationViewModel notificationViewModel,
     SettingViewModel settingViewModel,
     CloudWalletService cloudWalletService
     ) : base(
         nameof(MainViewModel),
         userDialogs,
         navigationService
         )
 {
     Connections         = connectionsViewModel;
     Credentials         = credentialsViewModel;
     Notification        = notificationViewModel;
     Setting             = settingViewModel;
     _cloudWalletService = cloudWalletService;
 }
 public ConnectionsViewModel(IUserDialogs userDialogs,
                             INavigationService navigationService,
                             IConnectionService connectionService,
                             IEdgeProvisioningService edgeProvisioningService,
                             IWalletAppConfiguration walletconfiguration,
                             IOptions <AgentOptions> options,
                             IAgentProvider agentProvider,
                             ILifetimeScope scope,
                             IEventAggregator eventAggregator,
                             CloudWalletService cloudWalletService) :
     base(nameof(ConnectionsViewModel), userDialogs, navigationService)
 {
     _edgeProvisioningService = edgeProvisioningService;
     _walletConfiguration     = walletconfiguration;
     _options            = options.Value;
     _cloudWalletService = cloudWalletService;
     _connectionService  = connectionService;
     _agentProvider      = agentProvider;
     _eventAggregator    = eventAggregator;
     _scope = scope;
     Title  = "Connections";
 }