Exemplo n.º 1
0
        public string Generate(string name, PasswordGenerator generator = null)
        {
            if (generator == null)
                generator = new PasswordGenerator();

            Add(name, generator.Generate());

            return Retrieve(name);
        }
Exemplo n.º 2
0
        public string Generate(string name, PasswordGenerator generator = null)
        {
            if (generator == null)
            {
                generator = new PasswordGenerator();
            }

            Add(name, generator.Generate());

            return(Retrieve(name));
        }