Skip to content

WildcardPattern.Create method

Creates the patterns of some texts, leaving out the empty ones.

public static WildcardPattern[] Create(IEnumerable<string?>? patterns, bool ignoreCase = true, 
    bool questionMark = true)
parameter description
patterns The texts of the patterns.
ignoreCase Whether the case is ignored, true by default.
questionMark Whether ? matches one character, true by default.

See Also