Pihrtsoft.Text.RegularExpressions.Linq.PatternBuilder.AppendIfGroup C# (CSharp) Метод

AppendIfGroup() публичный Метод

Appends an if construct.
is null. is less than zero.
public AppendIfGroup ( int groupNumber, object trueContent, object falseContent ) : void
groupNumber int A number of the group.
trueContent object The pattern to match if the named group is matched.
falseContent object The pattern to match if the named group is not matched.
Результат void
        public void AppendIfGroup(int groupNumber, object trueContent, object falseContent)
        {
            if (groupNumber < 0)
                throw new ArgumentOutOfRangeException(nameof(groupNumber));

            AppendIfGroup(TextUtility.NumberToString(groupNumber), trueContent, falseContent);
        }

Same methods

PatternBuilder::AppendIfGroup ( string groupName, object trueContent, object falseContent ) : void