Esempio n. 1
0
 public override MatchData Match(Element element, string pathPart)
 {
     if (!Valid(element))
     {
         return(null);
     }
     return(ElementMatch <Container> .From(element, pathPart, refExpr));
 }
Esempio n. 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);
        }
Esempio n. 3
0
 public override MatchData Match(Element element, string pathPart)
 {
     return(ElementMatch <Container> .From(element, pathPart, expr));
 }
Esempio n. 4
0
 public override MatchData Match(Element element, string pathPart)
 {
     return(ElementMatch <Element> .From(element, pathPart, refExpr));
 }