AppendGeneralCategory() public method

Appends a pattern that matches a character from a specified Unicode category.
public AppendGeneralCategory ( GeneralCategory category ) : void
category GeneralCategory An enumerated constant that identifies Unicode category.
return void
Exemplo n.º 1
0
            protected override void AppendItemContentTo(PatternBuilder builder)
            {
                if (builder == null)
                    throw new ArgumentNullException(nameof(builder));

                builder.AppendGeneralCategory(_category, Negative);
            }
Exemplo n.º 2
0
 internal override void AppendTo(PatternBuilder builder)
 {
     builder.AppendGeneralCategory(_category, _negative);
 }