Class ComplexInfoString
- Namespace
- SunamoShared.Entity
- Assembly
- SunamoShared.dll
Analyzes a string and provides character complexity information.
public class ComplexInfoString
- Inheritance
-
ComplexInfoString
- Inherited Members
- Extension Methods
Constructors
ComplexInfoString(string)
Initializes a new instance of the ComplexInfoString class by analyzing the given text.
public ComplexInfoString(string text)
Parameters
textstringThe text to analyze for character complexity.
Properties
CountOfNeededLettersOrDigit
Gets or sets the count of needed letters or digits before stopping analysis.
public int CountOfNeededLettersOrDigit { get; set; }
Property Value
this[char]
Gets the count of a specific character in the analyzed string.
public int this[char character] { get; }
Parameters
charactercharThe character to look up.
Property Value
NumberLettersOrDigit
Gets or sets the number of letters or digits found so far.
public int NumberLettersOrDigit { get; set; }
Property Value
QuantityLowerChars
Gets the quantity of lowercase characters found.
public int QuantityLowerChars { get; }
Property Value
QuantityNumbers
Gets the quantity of numeric characters found.
public int QuantityNumbers { get; }
Property Value
QuantitySpecialChars
Gets the quantity of special characters found.
public int QuantitySpecialChars { get; }
Property Value
QuantityUpperChars
Gets the quantity of uppercase characters found.
public int QuantityUpperChars { get; }