public PassOneModel(PassOneUser user, Dictionary<string, int> dictionary) { _user = user; CredentialsList = dictionary; Details = new Details(OnDetailsChanged); }
/// <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; }
public PassOneModel_(PassOneUser user) { _user = user; CredentialsList = new Dictionary<string, int>(); Details = new Details(OnDetailsChanged); }