Table of Contents

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

text string

The 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

int

this[char]

Gets the count of a specific character in the analyzed string.

public int this[char character] { get; }

Parameters

character char

The character to look up.

Property Value

int

NumberLettersOrDigit

Gets or sets the number of letters or digits found so far.

public int NumberLettersOrDigit { get; set; }

Property Value

int

QuantityLowerChars

Gets the quantity of lowercase characters found.

public int QuantityLowerChars { get; }

Property Value

int

QuantityNumbers

Gets the quantity of numeric characters found.

public int QuantityNumbers { get; }

Property Value

int

QuantitySpecialChars

Gets the quantity of special characters found.

public int QuantitySpecialChars { get; }

Property Value

int

QuantityUpperChars

Gets the quantity of uppercase characters found.

public int QuantityUpperChars { get; }

Property Value

int