Exemplo n.º 1
0
 private void Delete(EditableTextItem <EntryKeyValuePair> param)
 {
     if (param == null)
     {
         return;
     }
     EntryKeyValuePairs.Remove(param);
 }
 public Entry ToEntry(IBitmapSourceSerializer iconSerializer, ICipher cipher)
 {
     return(new Entry(iconSerializer.Deserialize(Icon), EntryKeyValuePairs.Select(pair => pair.ToEntryKeyValuePair(cipher)).ToList()));
 }
Exemplo n.º 3
0
 private void Add(object param)
 {
     EntryKeyValuePairs.Add(
         new EditableTextItem <EntryKeyValuePair>(new EntryKeyValuePair("New Key", string.Empty, isMandatory: false, isMultiline: AddMultiline,
                                                                        isProtected: AddProtected), true));
 }
Exemplo n.º 4
0
 private void OkClick(object param)
 {
     ReturnInformation = new AddEntryModel(new Entry(Icon, EntryKeyValuePairs.Select(item => item.WrappedItem).ToList()));
     Controller.ReturnOk();
 }