Пример #1
0
 public PassOneModel(PassOneUser user, Dictionary<string, int> dictionary)
 {
     _user = user;
        CredentialsList = dictionary;
        Details = new Details(OnDetailsChanged);
 }
Пример #2
0
 /// <summary>
 /// Method to set the current details object with new Credential's information
 /// </summary>
 /// <param name="creds">The credentials to be placed into details</param>
 public void SetDetails(PassOneCredentials creds)
 {
     Details = new Details(OnDetailsChanged);
        Details.Title = creds.Website;
        Details.Url = creds.Url;
        Details.Username = creds.Username;
        Details.Password = creds.Password;
        Details.Email = creds.EmailAddress;
 }
Пример #3
0
 public PassOneModel_(PassOneUser user)
 {
     _user = user;
        CredentialsList = new Dictionary<string, int>();
        Details = new Details(OnDetailsChanged);
 }