Adding Profile and ProfileList class
This commit is contained in:
13
Password Manager/Profile.cs
Normal file
13
Password Manager/Profile.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user