1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

Password generator page. Password generation service. Tests. Renamed some settings constants.

This commit is contained in:
Kyle Spearrin
2016-07-02 02:01:47 -04:00
parent cd4f1f4c2f
commit 55ed801fe7
17 changed files with 6955 additions and 98 deletions

View File

@@ -0,0 +1,35 @@
using System;
using System.ComponentModel;
namespace Bit.App.Models.Page
{
public class PasswordGeneratorPageModel : INotifyPropertyChanged
{
private string _password = " ";
private string _length;
public PasswordGeneratorPageModel() { }
public event PropertyChangedEventHandler PropertyChanged;
public string Password
{
get { return _password; }
set
{
_password = value;
PropertyChanged(this, new PropertyChangedEventArgs(nameof(Password)));
}
}
public string Length
{
get { return _length; }
set
{
_length = value;
PropertyChanged(this, new PropertyChangedEventArgs(nameof(Length)));
}
}
}
}