mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
Corrected then broke again data binding...
Lib now uses more nuget packages
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user