Compartilhar via


PatternMatcherCreationOptions Class

Definition

Defines context for what should be considered relevant in a pattern match.

public ref class PatternMatcherCreationOptions sealed
public sealed class PatternMatcherCreationOptions
type PatternMatcherCreationOptions = class
Public NotInheritable Class PatternMatcherCreationOptions
Inheritance
PatternMatcherCreationOptions

Constructors

PatternMatcherCreationOptions(CultureInfo, PatternMatcherCreationFlags, IReadOnlyCollection<Char>)

Creates an instance of PatternMatcherCreationOptions.

Fields

ContainerSplitCharacters

Characters that should be considered as describing a container/contained boundary. When matching types, this can be the '.' character e.g. Namespace.Class.Property, so that the search can tailor behavior to better match Property first, then Class, then Namespace. This also can work with directory separators in filenames and any other logical container/contained pattern in candidate strings.

null signifies no characters are container boundaries.

CultureInfo

Used to tailor character comparisons to the correct culture.

Flags

A set of biniary options, used to control options like case-sensitivity.

Applies to