21 lines
614 B
C#
21 lines
614 B
C#
using System;
|
|
|
|
namespace Password_Manager
|
|
{
|
|
public delegate void PasswordStoreChange();
|
|
|
|
sealed class Profile
|
|
{
|
|
public string Name { get; } //the name of the password store profile ("personal", "work", or similar)
|
|
public string Path { get; } //path of the folder containing the password store
|
|
public event PasswordStoreChange Change; //runs if a new password is added, or if one is removed
|
|
|
|
public Profile(string name, string path, PasswordStoreChange change)
|
|
{
|
|
Name = name;
|
|
Path = path;
|
|
Change = change;
|
|
}
|
|
}
|
|
}
|