Exemplo n.º 1
0
        public OnlineAccountViewModel(IFolderRepository folderRepository, INavigationService navigationService, IApiService apiService, IInteractionService interactionService) : base(folderRepository, navigationService, apiService)
        {
            _interactionService = interactionService;

            CopyPasswordToClipboard = new RelayCommand(() => _interactionService.CopyToClipboard(SelectedEntryContent.Password));
            CopyUsernameToClipboard = new RelayCommand(() => _interactionService.CopyToClipboard(SelectedEntryContent.UserName));
        }