Password Matcher Password Matcher
Password Matcher Password Matcher
DocFX + Singulink = ♥

Search Results for

    Class ValueMatcher

    Base class for matchers that consume text from the password, with optional support for matching consecutive repeats of the value and a trailing separator character.

    Inheritance
    object
    PasswordMatcher
    ValueMatcher
    AnyCharsMatcher
    CharSequenceMatcher
    FixedDigitsMatcher
    RepeatedCharMatcher
    RepeatedGroupMatcher
    TextMatcher
    Inherited Members
    PasswordMatcher.GetMatches(PasswordMatchContext)
    PasswordMatcher.GetFirstMatch(string, IEnumerable<PasswordMatcher>)
    PasswordMatcher.Any(IEnumerable<PasswordMatcher>)
    PasswordMatcher.AnyChars(int, int, Func<char, bool>, bool)
    PasswordMatcher.CharSequence(CharSequenceTypes, bool)
    PasswordMatcher.FixedDigits(int, PasswordMatchType, bool, bool)
    PasswordMatcher.FixedDigits(int, int, int, PasswordMatchType, bool, bool)
    PasswordMatcher.Optional(PasswordMatcher)
    PasswordMatcher.Permutations(IEnumerable<PasswordMatcher>, bool)
    PasswordMatcher.Repeat(PasswordMatcher, int, int)
    PasswordMatcher.RepeatedChars(Func<char, bool>, bool)
    PasswordMatcher.RepeatedChars(int, int, Func<char, bool>, bool)
    PasswordMatcher.RepeatedGroups(int, int, int, Func<char, bool>, bool)
    PasswordMatcher.Text(string, PasswordMatchType, bool, bool, bool)
    PasswordMatcher.Sequence(IEnumerable<PasswordMatcher>)
    Namespace: Singulink.Cryptography.PasswordMatchers
    Assembly: Singulink.Cryptography.PasswordMatcher.dll
    Syntax
    public abstract class ValueMatcher : PasswordMatcher
    Remarks

    Derived classes implement GetValueMatches(PasswordMatchContext) to match the value itself. Repeats and separators are handled by this class: after each value match, the exact characters that were matched may be matched again any number of times, and a single separator character (space, period, dash, underscore or comma) may follow each occurrence.

    Constructors

    Name Description
    ValueMatcher(bool, bool)

    Initializes a new instance of the ValueMatcher class.

    Properties

    Name Description
    MatchRepeats

    Gets a value indicating whether consecutive repeats of the matched value are also matched.

    MatchTrailingSeparator

    Gets a value indicating whether a single separator character after the value is also matched.

    Separators

    Gets the characters that are matched as separators after a value when MatchTrailingSeparator is true.

    Methods

    Name Description
    GetMatchesCore(PasswordMatchContext)

    Gets the contexts that result from matching this matcher at the current position of the given context, in the order they should be tried.

    GetValueMatches(PasswordMatchContext)

    Gets the contexts that result from matching the value at the current position of the given context, in the order they should be tried. Repeats and trailing separators do not need to be handled by the implementation.

    © Singulink. All rights reserved.