Skip to content

Commit 744d280

Browse files
committed
* Code cleanup
1 parent 4b94494 commit 744d280

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

Advanced PassGen/Classes/Password.cs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
using System.Text.RegularExpressions;
1+
using System;
2+
using System.Text.RegularExpressions;
23

34
namespace Advanced_PassGen.Classes
45
{
56
public class Password
67
{
8+
#region Variables
9+
710
private string _actualPassword;
811

12+
#endregion
13+
14+
/// <summary>
15+
/// The actual password in plain text.
16+
/// </summary>
917
public string ActualPassword
1018
{
1119
get { return _actualPassword; }
@@ -17,12 +25,18 @@ public string ActualPassword
1725
}
1826
}
1927

28+
/// <summary>
29+
/// The length of the password.
30+
/// </summary>
2031
public int Length { get; private set; }
2132

33+
/// <summary>
34+
/// The strength of a password, indicated by a number ranging from 0 to 5. The higher the score, the stronger the password.
35+
/// </summary>
2236
public int Strength { get; private set; }
2337

2438
/// <summary>
25-
/// Check how a strong a password is. The higher the score, the safer the password.
39+
/// Check how a strong a password is. The higher the score, the stronger the password.
2640
/// </summary>
2741
/// <param name="password">The password that needs to be evaluated.</param>
2842
/// <returns>Returns a password score.</returns>

Advanced PassGen/Classes/PasswordGenerator.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ internal class PasswordGenerator
1818
private readonly int _maxLength;
1919
private readonly int _amount;
2020
private readonly int _seed;
21-
2221
private readonly string _charSet;
2322

2423
internal List<Password> PasswordList;

0 commit comments

Comments
 (0)