Corrected then broke again data binding...

Lib now uses more nuget packages
This commit is contained in:
2017-09-13 18:37:44 +02:00
parent 1cd7c0411c
commit 8c6d8056bb
229 changed files with 49677 additions and 257 deletions

View File

@@ -3,10 +3,23 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ModernKeePassLib;
namespace ModernKeePass.ViewModels
{
public class EntryVm
{
public string Title { get; private set; }
public string UserName { get; private set; }
public string URL { get; private set; }
public string Notes { get; private set; }
public EntryVm(PwEntry entry)
{
Title = entry.Strings.GetSafe(PwDefs.TitleField).ReadString();
UserName = entry.Strings.GetSafe(PwDefs.UserNameField).ReadString();
URL = entry.Strings.GetSafe(PwDefs.UrlField).ReadString();
Notes = entry.Strings.GetSafe(PwDefs.NotesField).ReadString();
}
}
}