Exemplo n.º 1
0
        public static PatternMatcher Parse(int id, string name, string pattern)
        {
            PatternReader  reader  = new PatternReader();
            PatternMatcher matcher = reader.AsMatcher(pattern);

            matcher.Id   = id;
            matcher.Name = name;
            return(matcher);
        }
Exemplo n.º 2
0
        public static PatternMatcher Parse(string pattern)
        {
            PatternReader reader = new PatternReader();

            return(reader.AsMatcher(pattern));
        }