Ejemplo n.º 1
0
 CredentialsViewModel(
     IUserDialogs userDialogs,
     INavigationService navigationService,
     ICredentialService credentialService,
     ICustomAgentContextProvider agentContextProvider) :
     base(
         nameof(CredentialsViewModel),
         userDialogs,
         navigationService)
 {
     _credentialService    = credentialService;
     _agentContextProvider = agentContextProvider;
 }
Ejemplo n.º 2
0
 public CreateInvitationViewModel(
     IUserDialogs userDialogs,
     INavigationService navigationService,
     ICustomAgentContextProvider agentContextProvider,
     IConnectionService defaultConnectionService
     ) : base(
         "CreateInvitation",
         userDialogs,
         navigationService
         )
 {
     _agentContextProvider = agentContextProvider;
     _connectionService    = defaultConnectionService;
 }
 public AcceptInvitationViewModel(IUserDialogs userDialogs,
                                  INavigationService navigationService,
                                  IConnectionService connectionService,
                                  ICustomAgentContextProvider agentContextProvider,
                                  IProvisioningService provisioningService,
                                  IMessageService messageService)
     : base("Accept Invitiation", userDialogs, navigationService)
 {
     _connectionService    = connectionService;
     _navigationService    = navigationService;
     _agentContextProvider = agentContextProvider;
     _userDialogs          = userDialogs;
     _messageService       = messageService;
     _provisioningService  = provisioningService;
 }
Ejemplo n.º 4
0
 public AcceptInviteViewModel(IUserDialogs userDialogs,
                              INavigationService navigationService,
                              IProvisioningService provisioningService,
                              IConnectionService connectionService,
                              IMessageService messageService,
                              ICustomAgentContextProvider contextProvider,
                              IEventAggregator eventAggregator)
     : base("Accept Invitiation", userDialogs, navigationService)
 {
     _provisioningService = provisioningService;
     _connectionService   = connectionService;
     _contextProvider     = contextProvider;
     _messageService      = messageService;
     _contextProvider     = contextProvider;
     _eventAggregator     = eventAggregator;
 }
Ejemplo n.º 5
0
 public WalletViewModel(IUserDialogs userDialogs,
                        INavigationService navigationService,
                        IWalletService walletService,
                        IWalletRecordService recordService,
                        ICustomAgentContextProvider agentContextProvider,
                        IEventAggregator eventAggregator,
                        ILifetimeScope scope) :
     base("Wallet",
          userDialogs,
          navigationService)
 {
     _walletService        = walletService;
     _recordService        = recordService;
     _agentContextProvider = agentContextProvider;
     _eventAggregator      = eventAggregator;
     _scope = scope;
 }
Ejemplo n.º 6
0
 public ConnectionsViewModel(IUserDialogs userDialogs,
                             INavigationService navigationService,
                             IConnectionService connectionService,
                             ICustomAgentContextProvider agentContextProvider,
                             IMessageService messageService,
                             IProvisioningService provisioningService,
                             IEventAggregator eventAggregator,
                             ILifetimeScope scope) :
     base("Connections", userDialogs, navigationService)
 {
     _connectionService    = connectionService;
     _agentContextProvider = agentContextProvider;
     _eventAggregator      = eventAggregator;
     _scope               = scope;
     _messageService      = messageService;
     _provisioningService = provisioningService;
 }
Ejemplo n.º 7
0
        public CredentialsViewModel(
            IUserDialogs userDialogs,
            INavigationService navigationService,
            ICredentialService credentialService,
            ICustomAgentContextProvider agentContextProvider,
            ILifetimeScope scope
            ) : base(
                "Credentials",
                userDialogs,
                navigationService
                )
        {
            _credentialService    = credentialService;
            _agentContextProvider = agentContextProvider;
            _scope = scope;

            this.WhenAnyValue(x => x.SearchTerm)
            .Throttle(TimeSpan.FromMilliseconds(200))
            .InvokeCommand(RefreshCommand);
        }