コード例 #1
0
        internal override void AppendTo(PatternBuilder builder)
        {
            if (string.IsNullOrEmpty(_text))
            {
                return;
            }

            if (_ignoreCase)
            {
                builder.AppendOptions(RegexOptions.IgnoreCase, _text);
            }
            else
            {
                builder.AppendOptions(RegexOptions.None, RegexOptions.IgnoreCase, _text);
            }
        }
コード例 #2
0
 internal override void AppendTo(PatternBuilder builder)
 {
     builder.AppendOptions(_applyOptions, _disableOptions);
 }