Beispiel #1
0
        private void OnEntryAdded(EntryAddedMessage msg)
        {
            Search();

            if (Matches.Any(m => m.Model.Id == msg.Entry.Id))
            {
                return;
            }

            MessengerInstance.Send(new NotificationMessage(Strings.NewEntryNotMatched));
        }
Beispiel #2
0
 /// <summary>
 /// Add the newly created entry to the entries list and select it
 /// </summary>
 /// <param name="obj"></param>
 void EntryAddedHandler(EntryAddedMessage obj)
 {
     basePasswordEntries.Add(obj.Entry);
     RaisePropertyChanged(nameof(PasswordEntryList));
     SelectEntry(obj.Entry);
 }