Example #1
0
 public override MatchData Match(Element element, string pathPart)
 {
     if (!Valid(element))
     {
         return(null);
     }
     return(ElementMatch <Container> .From(element, pathPart, refExpr));
 }
Example #2
0
        public override MatchData Match(Element element, string pathPart)
        {
            var c = ElementMatch <Container> .From(element, pathPart, signatureExpr);

            if (c == null)
            {
                return(null);
            }
            var sig = c.match.Groups[1].Value;

            return(element.SupportsSignature(sig) ? c : null);
        }
Example #3
0
 public override MatchData Match(Element element, string pathPart)
 {
     return(ElementMatch <Container> .From(element, pathPart, expr));
 }
Example #4
0
 public override MatchData Match(Element element, string pathPart)
 {
     return(ElementMatch <Element> .From(element, pathPart, refExpr));
 }