public CredentialOfferPageViewModel(INavigationService navigationService,
                                     IMessageService messageService,
                                     IAgentProvider contextProvider,
                                     ICredentialService credentialService,
                                     IUserDialogs dialogService,
                                     IEventAggregator eventAggregator)
     : base("Accept Invitation", navigationService)
 {
     _contextProvider   = contextProvider;
     _messageService    = messageService;
     _contextProvider   = contextProvider;
     _eventAggregator   = eventAggregator;
     _credentialService = credentialService;
     _dialogService     = dialogService;
 }
示例#2
0
 public AcceptConnectionInviteViewModel(
     INavigationService navigationService,
     IConnectionService connectionService,
     IMessageService messageService,
     IAgentProvider contextProvider,
     IEventAggregator eventAggregator,
     IUserDialogs dialogService,
     ILifetimeScope scope)
     : base("Accept Invitation", navigationService)
 {
     _connectionService = connectionService;
     _contextProvider   = contextProvider;
     _messageService    = messageService;
     _contextProvider   = contextProvider;
     _eventAggregator   = eventAggregator;
     _scope             = scope;
     _dialogService     = dialogService;
 }
示例#3
0
 public EntryHubPageViewModel(
     INavigationService navigationService,
     IConnectionService connectionService,
     ICredentialService credentialService,
     IEdgeClientService edgeClientService,
     IAgentProvider contextProvider,
     IEventAggregator eventAggregator,
     IUserDialogs userDialogs
     )
     : base("Hub Page", navigationService)
 {
     _connectionService = connectionService;
     _contextProvider   = contextProvider;
     _contextProvider   = contextProvider;
     _credentialService = credentialService;
     _eventAggregator   = eventAggregator;
     _edgeClientService = edgeClientService;
     _userDialogs       = userDialogs;
 }
示例#4
0
 public WalletPageViewModel(
     INavigationService navigationService,
     IConnectionService connectionService,
     ICredentialService credentialService,
     IEdgeClientService edgeClientService,
     IAgentProvider agentContextProvider,
     IEventAggregator eventAggregator,
     IUserDialogs dialogService,
     ILifetimeScope scope) :
     base("Wallet Page", navigationService)
 {
     _credentialService    = credentialService;
     _agentContextProvider = agentContextProvider;
     _connectionService    = connectionService;
     _eventAggregator      = eventAggregator;
     _edgeClientService    = edgeClientService;
     _dialogService        = dialogService;
     _scope         = scope;
     _mediatorTimer = new MediatorTimerService(this.CheckMediator);
 }