コード例 #1
0
        public static IExpectPattern BoundedBy(string boundStart = null, string boundEnd = null, bool honorInnerQuotes = false)
        {
            var pattern = new Patterns.Bounded();

            if (!String.IsNullOrEmpty(boundStart))
            {
                pattern.BoundStart = boundStart;
            }
            if (!String.IsNullOrEmpty(boundEnd))
            {
                pattern.BoundEnd = boundEnd;
            }
            pattern.HonorInnerQuotes = honorInnerQuotes;
            return(pattern);
        }
コード例 #2
0
ファイル: MatchFunctions.cs プロジェクト: kaleb/CsQuery
 public static IExpectPattern BoundedBy(string boundStart=null, string boundEnd=null, bool honorInnerQuotes=false)
 {
     
     var pattern = new Patterns.Bounded();
     if (!String.IsNullOrEmpty(boundStart))
     {
         pattern.BoundStart = boundStart;
     }
     if (!String.IsNullOrEmpty(boundEnd))
     {
         pattern.BoundEnd= boundEnd;
     }
     pattern.HonorInnerQuotes = honorInnerQuotes;
     return pattern;
 }