31 lines
544 B
C#
31 lines
544 B
C#
using System.ComponentModel;
|
|
using Models;
|
|
|
|
namespace Keychain.ViewModels;
|
|
|
|
public class PasswordStoreViewModel : INotifyPropertyChanged
|
|
{
|
|
private PasswordStore _model;
|
|
public event PropertyChangedEventHandler? PropertyChanged;
|
|
|
|
public string? DisplayName
|
|
{
|
|
get => _model.DisplayName;
|
|
}
|
|
|
|
public string? IconName
|
|
{
|
|
get => _model.IconName;
|
|
}
|
|
|
|
public string Path
|
|
{
|
|
get => _model.Path;
|
|
}
|
|
|
|
public PasswordStoreViewModel(PasswordStore item)
|
|
{
|
|
_model = item;
|
|
}
|
|
}
|